Skip to content

Commit c3f81f2

Browse files
committed
I knew moving the breakpoint would break the other tests...
1 parent 5f0282c commit c3f81f2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/PowerShellEditorServices.Test.Shared/Debugging/VariableTest.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ function Test-Variables {
1010
$assocArrVar = @{ firstChild = "Child"; secondChild = 42 }
1111
$classVar = [MyClass]::new();
1212
$classVar.Name = "Test"
13-
$classVar.Number = 42;
14-
$trueVar = $true
15-
$falseVar = $false
13+
$classVar.Number = 42;
1614
$enumVar = $ErrorActionPreference
1715
$nullString = [NullString]::Value
18-
$psObjVar = New-Object -TypeName PSObject -Property @{Name = 'John'; Age = 75}
19-
$psCustomObjVar = [PSCustomObject] @{Name = 'Paul'; Age = 73}
16+
$psObjVar = New-Object -TypeName PSObject -Property @{Name = 'John'; Age = 75 }
17+
$psCustomObjVar = [PSCustomObject] @{Name = 'Paul'; Age = 73 }
2018
$procVar = Get-Process -PID $PID
19+
$trueVar = $true
20+
$falseVar = $false
2121
Write-Output "Done"
2222
}
2323

test/PowerShellEditorServices.Test/Debugging/DebugServiceTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ public async Task DebuggerGetsVariables()
534534
{
535535
await debugService.SetLineBreakpointsAsync(
536536
variableScriptFile,
537-
new[] { BreakpointDetails.Create(variableScriptFile.FilePath, 16) }).ConfigureAwait(true);
537+
new[] { BreakpointDetails.Create(variableScriptFile.FilePath, 21) }).ConfigureAwait(true);
538538

539539
Task _ = ExecuteVariableScriptFile();
540540
AssertDebuggerStopped(variableScriptFile.FilePath);

0 commit comments

Comments
 (0)