Skip to content

Commit

Permalink
put quotes around params
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveL-MSFT committed Jan 17, 2024
1 parent b7465c8 commit f1f0c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsc/tests/dsc_parameters.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ Describe 'Parameters tests' {
family: "[parameters('osFamily')]"
'@

$out = dsc -i $config_yaml config -p $params test | ConvertFrom-Json
$out = dsc -i $config_yaml config -p "$params" test | ConvertFrom-Json
$LASTEXITCODE | Should -Be 0
$out.results[0].result.actualState.family | Should -BeExactly $os
$out.results[0].result.inDesiredState | Should -BeTrue
Expand Down

0 comments on commit f1f0c3d

Please sign in to comment.