File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
test/PowerShellEditorServices.Test.E2E Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,17 @@ public void CanInitializeWithCorrectServerSettings()
182182 Assert . True ( PsesDebugAdapterClient . ServerSettings . SupportsSetVariable ) ;
183183 }
184184
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+
185196 [ Fact ]
186197 public async Task CanLaunchScriptWithNoBreakpointsAsync ( )
187198 {
You can’t perform that action at this time.
0 commit comments