1

Closed

[Fix] Incorrect [String]::Join line endings!

description

It took quite a bit of hunting around to find the cause of mangled line-endings in file system test files, because I didn't even think to look in PSUnit. But:
 
PSUnit.Run.ps1 the "rn" are incorrectly stated as nr !
(Line#44 from the current download files)
 

Loading test functions into global scope

$ScriptLines = Get-Content -Path $PSUnitTestFile -Encoding "UTF8"
$ScriptText = [String]::Join("rn", $ScriptLines) # Corrected mangled line endings.
Invoke-Expression $ScriptText
Closed Jan 14, 2010 at 7:03 AM by senf
Fixed in 37107

comments