PS: Copy expected results of 2nd image in update-expected-results.ps1

This commit is contained in:
Katy Coe
2019-10-29 01:23:34 +01:00
parent d0c7efcdd2
commit 2257bf8ad1

View File

@@ -7,6 +7,7 @@
# Get all test results
$bin = (gci "$PSScriptRoot/TestBinaries/*/*" -Filter test-result.cs)
$bin2 = (gci "$PSScriptRoot/TestBinaries/*/*" -Filter test-result-1.cs)
# Get path to expected test results
$results = "$PSScriptRoot/TestExpectedResults"
@@ -15,3 +16,8 @@ $bin | % {
$target = $results + "/" + (Split-Path -Path (Split-Path -Path $_) -Leaf) + ".cs"
cp $_ -Destination $target -Force
}
$bin2 | % {
$target = $results + "/" + (Split-Path -Path (Split-Path -Path $_) -Leaf) + "-1.cs"
cp $_ -Destination $target -Force
}