Skip to content

Commit e264553

Browse files
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)SteveL-MSFT
authored andcommitted
update test
1 parent de4cd2c commit e264553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsc/tests/dsc_extension_discover.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Describe 'Discover extension tests' {
138138
$out = dsc -l warn resource list 2> $TestDrive/error.log | ConvertFrom-Json
139139
$LASTEXITCODE | Should -Be 0
140140
$out.Count | Should -BeGreaterThan 0
141-
(Get-Content -Path "$TestDrive/error.log" -Raw) | Should -BeLike "*WARN Extension 'Microsoft.Windows.Appx/Discover' failed to discover resources: Command: Operation program not found for executable 'powershell'*" -Because (Get-Content -Path "$TestDrive/error.log" -Raw | Out-String)
141+
(Get-Content -Path "$TestDrive/error.log" -Raw) | Should -BeLike "*WARN Extension 'Microsoft.Windows.Appx/Discover' failed to discover resources: Command: Operation Executable 'powershell.exe' not found*" -Because (Get-Content -Path "$TestDrive/error.log" -Raw | Out-String)
142142
} finally {
143143
$env:PATH = $oldPath
144144
}

0 commit comments

Comments
 (0)