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 3af52ae commit a69e532Copy full SHA for a69e532
extensions/bicep/bicep.tests.ps1
@@ -12,6 +12,7 @@ BeforeDiscovery {
12
Describe 'Bicep extension tests' -Skip:(!$foundBicep) {
13
It 'Example bicep file should work' {
14
$bicepFile = Resolve-Path -Path "$PSScriptRoot\..\..\dsc\examples\hello_world.dsc.bicep"
15
+ Write-Verbose -Verbose (bicep -v)
16
$out = dsc -l trace config get -f $bicepFile 2>$TestDrive/error.log | ConvertFrom-Json
17
$LASTEXITCODE | Should -Be 0 -Because (Get-Content -Path $TestDrive/error.log -Raw | Out-String)
18
$out.results[0].result.actualState.output | Should -BeExactly 'Hello, world!'
0 commit comments