File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -766,17 +766,15 @@ Describe 'tests for function expressions' {
766
766
) {
767
767
param ($expression , $expectedError )
768
768
769
- $escapedExpression = $expression -replace " '" , " ''"
770
-
771
769
$config_yaml = @"
772
770
`$ schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
773
771
resources:
774
772
- name: Echo
775
773
type: Microsoft.DSC.Debug/Echo
776
774
properties:
777
- output: " $escapedExpression "
775
+ output: `" $expression ` "
778
776
"@
779
- $out = dsc - l trace config get - i $config_yaml 2> $TestDrive / error.log
777
+ $null = dsc - l trace config get - i $config_yaml 2> $TestDrive / error.log
780
778
$LASTEXITCODE | Should -Not - Be 0
781
779
$errorContent = Get-Content $TestDrive / error.log - Raw
782
780
$errorContent | Should -Match $expectedError
You can’t perform that action at this time.
0 commit comments