@@ -87,23 +87,23 @@ Describe 'tests for dsc settings' {
87
87
# ensure policy overrides everything
88
88
dsc - l debug resource list 2> $TestDrive / tracing.txt
89
89
" $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'
91
91
92
92
# without policy, command-line args have priority
93
93
Remove-Item - Path $script :policyFilePath
94
94
dsc - l debug resource list 2> $TestDrive / tracing.txt
95
95
" $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'
97
97
98
98
# without policy and command-line args, settings file is used
99
99
dsc resource list 2> $TestDrive / tracing.txt
100
100
" $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'
102
102
103
103
# without policy and command-line args and settings file, the default settings file is used
104
104
Remove-Item - Path $script :dscSettingsFilePath
105
105
dsc resource list 2> $TestDrive / tracing.txt
106
106
" $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'
108
108
}
109
109
}
0 commit comments