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 42c8b26 commit f879b86Copy full SHA for f879b86
resources/apt/test/apt.tests.ps1
@@ -28,7 +28,8 @@ Describe 'Apt resource tests' {
28
Set-ItResult -Skip -Because "Apt not found"
29
}
30
$out = dsc -l trace config get -p $yamlPath 2> "$TestDrive/stderr.txt" | ConvertFrom-Json -Depth 10
31
- $LASTEXITCODE | Should -Be 0 -Because (Get-Content "$TestDrive/stderr.txt")
+ write-verbose -verbose (Get-Content "$TestDrive/stderr.txt" | Out-String)
32
+ $LASTEXITCODE | Should -Be 0
33
$exists = $null -ne (Get-Command $pkgName -CommandType Application -ErrorAction Ignore)
34
$observed = $out.results[1].result.actualState._exist
35
$observed | Should -Be $exists
0 commit comments