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' {
766766 ) {
767767 param ($expression , $expectedError )
768768
769- $escapedExpression = $expression -replace " '" , " ''"
770-
771769 $config_yaml = @"
772770 `$ schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
773771 resources:
774772 - name: Echo
775773 type: Microsoft.DSC.Debug/Echo
776774 properties:
777- output: " $escapedExpression "
775+ output: `" $expression ` "
778776"@
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
780778 $LASTEXITCODE | Should -Not - Be 0
781779 $errorContent = Get-Content $TestDrive / error.log - Raw
782780 $errorContent | Should -Match $expectedError
You can’t perform that action at this time.
0 commit comments