We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bf6b03 commit 4889017Copy full SHA for 4889017
1 file changed
test/debugger/test-debugger-pid.js
@@ -23,8 +23,8 @@ interfacer.stderr.on('data', onData);
23
24
interfacer.on('line', function(line) {
25
line = line.replace(/^(debug> *)+/, '');
26
- var expected = 'Target process: 655555 doesn\'t exist.';
27
- assert.ok(expected == line, 'Got unexpected line: ' + line);
+ var expected = /Target process: 655555 doesn\'t exist./;
+ assert.ok(line.match(expected), 'Got unexpected line: ' + line);
28
});
29
30
interfacer.on('exit', function(code, signal) {
0 commit comments