File tree 1 file changed +11
-0
lines changed
test/PowerShellEditorServices.Test.E2E
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,17 @@ public void CanInitializeWithCorrectServerSettings()
182
182
Assert . True ( PsesDebugAdapterClient . ServerSettings . SupportsSetVariable ) ;
183
183
}
184
184
185
+ [ Fact ]
186
+ public async Task UsesDotSourceOperatorAndQuotesAsync ( )
187
+ {
188
+ string filePath = NewTestFile ( GenerateScriptFromLoggingStatements ( "$($MyInvocation.Line)" ) ) ;
189
+ await PsesDebugAdapterClient . LaunchScript ( filePath , Started ) . ConfigureAwait ( true ) ;
190
+ ConfigurationDoneResponse configDoneResponse = await PsesDebugAdapterClient . RequestConfigurationDone ( new ConfigurationDoneArguments ( ) ) . ConfigureAwait ( true ) ;
191
+ Assert . NotNull ( configDoneResponse ) ;
192
+ Assert . Collection ( await GetLog ( ) . ConfigureAwait ( true ) ,
193
+ ( i ) => Assert . StartsWith ( ". \" " , i ) ) ;
194
+ }
195
+
185
196
[ Fact ]
186
197
public async Task CanLaunchScriptWithNoBreakpointsAsync ( )
187
198
{
You can’t perform that action at this time.
0 commit comments