We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67f7668 commit 208e961Copy full SHA for 208e961
dsc/tests/dsc_discovery.tests.ps1
@@ -94,8 +94,8 @@ Describe 'tests for resource discovery' {
94
try {
95
$env:DSC_RESOURCE_PATH = $testdrive
96
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)
+ $null = dsc resource list 2>$TestDrive/error.log
+ (Get-Content -Path $TestDrive/error.log -Raw) | Should -Match 'WARN.*?does not use semver'
99
}
100
finally {
101
$env:DSC_RESOURCE_PATH = $oldPath
0 commit comments