Skip to content

Commit b641d61

Browse files
committed
change Linux verbage to *nix
1 parent 7c38512 commit b641d61

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

DSCResources/DSR_ReplaceText/DSR_ReplaceText.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ function Add-ConfigurationEntry
399399

400400
if ($FileContent -match '\n$' -and $FileContent -notmatch '\r\n$')
401401
{
402-
# default Linux line ending
402+
# default *nix line ending
403403
$detectedNewLineFormat = "`n"
404404
}
405405
else

Tests/Unit/DSR_ReplaceText.Tests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -815,12 +815,12 @@ Setting3.Test=Value4
815815
}
816816
}
817817

818-
Context 'Apply a LF (default Linux)' {
819-
$linuxString = "Line1`nLine2`n"
818+
Context 'Apply a LF (default *nix)' {
819+
$nixString = "Line1`nLine2`n"
820820

821821
$result = Add-ConfigurationEntry `
822822
-Text 'Line3' `
823-
-FileContent $linuxString
823+
-FileContent $nixString
824824

825825
It 'Should end with a LF' {
826826
$result -match '\n$' | Should -BeTrue

0 commit comments

Comments
 (0)