Skip to content

Commit d22b57c

Browse files
committed
Fix variable test with scope change
1 parent 196ec3b commit d22b57c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/PowerShellEditorServices.Test.E2E/DebugAdapterProtocolMessageTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public async Task CanStepPastSystemWindowsForms()
263263
string filePath = NewTestFile(string.Join(Environment.NewLine, new []
264264
{
265265
"Add-Type -AssemblyName System.Windows.Forms",
266-
"$form = New-Object System.Windows.Forms.Form",
266+
"$global:form = New-Object System.Windows.Forms.Form",
267267
"Write-Host $form"
268268
}));
269269

0 commit comments

Comments
 (0)