Skip to content

Commit d1ca321

Browse files
committed
test/integration/goDebug.test.ts: enable switch goroutine test dap
The switch goroutine feature has now been merged into dlv dap so the behavior can be included in the extension tests. Updates #118 Change-Id: I1258eae502abcd7665887f5a225407e0fd1bd2a6 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/306989 Trust: Suzy Mueller <[email protected]> Run-TryBot: Suzy Mueller <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
1 parent d9fca4d commit d1ca321

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

test/integration/goDebug.test.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1637,12 +1637,19 @@ const testAll = (ctx: Mocha.Context, isDlvDap: boolean) => {
16371637
]);
16381638
}
16391639

1640-
test.skip('next', async () => {
1641-
// neither debug adapter implements this behavior
1640+
test.only('next', async function () {
1641+
if (!isDlvDap) {
1642+
// Not implemented in the legacy adapter.
1643+
this.skip();
1644+
}
16421645
await runSwitchGoroutineTest('next');
16431646
});
16441647

1645-
test.skip('step in', async () => {
1648+
test('step in', async function () {
1649+
if (!isDlvDap) {
1650+
// Not implemented in the legacy adapter.
1651+
this.skip();
1652+
}
16461653
// neither debug adapter implements this behavior
16471654
await runSwitchGoroutineTest('step in');
16481655
});

0 commit comments

Comments
 (0)