Skip to content

Commit f7c7253

Browse files
committed
fix windows tests
1 parent 9e448d2 commit f7c7253

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dsc/tests/dsc_settings.tests.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,23 +87,23 @@ Describe 'tests for dsc settings' {
8787
# ensure policy overrides everything
8888
dsc -l debug resource list 2> $TestDrive/tracing.txt
8989
"$TestDrive/tracing.txt" | Should -FileContentMatchExactly "Trace-level is Trace"
90-
"$TestDrive/tracing.txt" | Should -FileContentMatchExactly 'Using Resource Path: "PolicyDir'
90+
"$TestDrive/tracing.txt" | Should -FileContentMatchExactly 'Using Resource Path: PolicyDir'
9191

9292
# without policy, command-line args have priority
9393
Remove-Item -Path $script:policyFilePath
9494
dsc -l debug resource list 2> $TestDrive/tracing.txt
9595
"$TestDrive/tracing.txt" | Should -FileContentMatchExactly "Trace-level is Debug"
96-
"$TestDrive/tracing.txt" | Should -FileContentMatchExactly 'Using Resource Path: "SettingsDir'
96+
"$TestDrive/tracing.txt" | Should -FileContentMatchExactly 'Using Resource Path: SettingsDir'
9797

9898
# without policy and command-line args, settings file is used
9999
dsc resource list 2> $TestDrive/tracing.txt
100100
"$TestDrive/tracing.txt" | Should -FileContentMatchExactly "Trace-level is Trace"
101-
"$TestDrive/tracing.txt" | Should -FileContentMatchExactly 'Using Resource Path: "SettingsDir'
101+
"$TestDrive/tracing.txt" | Should -FileContentMatchExactly 'Using Resource Path: SettingsDir'
102102

103103
# without policy and command-line args and settings file, the default settings file is used
104104
Remove-Item -Path $script:dscSettingsFilePath
105105
dsc resource list 2> $TestDrive/tracing.txt
106106
"$TestDrive/tracing.txt" | Should -FileContentMatchExactly "Trace-level is Trace"
107-
"$TestDrive/tracing.txt" | Should -FileContentMatchExactly 'Using Resource Path: "Defaultv1SettingsDir'
107+
"$TestDrive/tracing.txt" | Should -FileContentMatchExactly 'Using Resource Path: Defaultv1SettingsDir'
108108
}
109109
}

0 commit comments

Comments
 (0)