File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ Describe 'tests for resource discovery' {
7474 $resources.Count | Should - Be 0
7575 }
7676
77- It ' warns on invalid semver' {
77+ It ' info on invalid semver' {
7878 $manifest = @'
7979 {
8080 "$schema": "https://aka.ms/dsc/schemas/v3/bundled/resource/manifest.json",
@@ -94,9 +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- write-verbose - verbose ($out | Out-String )
99- $out | Should -Match ' WARN.*?Validation.*?invalid version' - Because ($out | Out-String )
97+ $out = dsc - l info resource list 2>&1 | Out-String
98+ $out | Should - BeLike ' *INFO*Validation*invalid version*' - Because ($out | Out-String )
10099 }
101100 finally {
102101 $env: DSC_RESOURCE_PATH = $oldPath
You can’t perform that action at this time.
0 commit comments