Skip to content

Commit 208e961

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
fix merge conflict
1 parent 67f7668 commit 208e961

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dsc/tests/dsc_discovery.tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ Describe 'tests for resource discovery' {
9494
try {
9595
$env:DSC_RESOURCE_PATH = $testdrive
9696
Set-Content -Path "$testdrive/test.dsc.resource.json" -Value $manifest
97-
$out = dsc resource list 2>&1
98-
$out | Should -Match 'WARN.*?Validation.*?invalid version' -Because ($out | Out-String)
97+
$null = dsc resource list 2>$TestDrive/error.log
98+
(Get-Content -Path $TestDrive/error.log -Raw) | Should -Match 'WARN.*?does not use semver'
9999
}
100100
finally {
101101
$env:DSC_RESOURCE_PATH = $oldPath

0 commit comments

Comments
 (0)