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 golang/vscode-go#118
Change-Id: I1258eae502abcd7665887f5a225407e0fd1bd2a6
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/306989
Trust: Suzy Mueller <suzmue@golang.org>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
diff --git a/test/integration/goDebug.test.ts b/test/integration/goDebug.test.ts
index 11a30af..7a0e745 100644
--- a/test/integration/goDebug.test.ts
+++ b/test/integration/goDebug.test.ts
@@ -1637,12 +1637,19 @@
]);
}
- test.skip('next', async () => {
- // neither debug adapter implements this behavior
+ test.only('next', async function () {
+ if (!isDlvDap) {
+ // Not implemented in the legacy adapter.
+ this.skip();
+ }
await runSwitchGoroutineTest('next');
});
- test.skip('step in', async () => {
+ test('step in', async function () {
+ if (!isDlvDap) {
+ // Not implemented in the legacy adapter.
+ this.skip();
+ }
// neither debug adapter implements this behavior
await runSwitchGoroutineTest('step in');
});