Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 4e3d93e

Browse files
committed
use RegExp for test
1 parent d6658ed commit 4e3d93e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"typescript": "^2.2.1",
6565
"vscode": "^1.0.3",
6666
"vscode-nls-dev": "^2.1.1",
67-
"vscode-debugadapter-testsupport": "^1.18.0",
67+
"vscode-debugadapter-testsupport": "^1.19.0-pre.0",
6868
"vscode-debugprotocol": "^1.18.0",
6969
"event-stream": "^3.3.4",
7070
"nodemon": "^1.11.0",

src/tests/adapter.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ suite('Node Debug Adapter', () => {
201201
return Promise.all([
202202
dc.configurationSequence(),
203203
dc.launch({ program: PROGRAM }),
204-
dc.assertStoppedLocation('debugger_statement', { /* path: '<node_internals>/VM66',*/ line: DEBUGGER_LINE } )
204+
dc.assertStoppedLocation('debugger_statement', { path: /^<node_internals>\/VM[0-9]+$/, line: DEBUGGER_LINE } )
205205
]);
206206
});
207207
});

0 commit comments

Comments
 (0)