Skip to content

Commit 96ed883

Browse files
TrottMyles Borins
authored and
Myles Borins
committed
test: enable test-debug-brk-no-arg
Fix issues with disabled test-debug-brk-no-arg and re-enable the test. PR-URL: #7143 Reviewed-By: Fedor Indutny <[email protected]>
1 parent ef37a2e commit 96ed883

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

test/disabled/test-debug-brk-no-arg.js

-15
This file was deleted.
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
'use strict';
2+
const common = require('../common');
3+
const assert = require('assert');
4+
const spawn = require('child_process').spawn;
5+
6+
const child = spawn(process.execPath, ['--debug-brk=' + common.PORT, '-i']);
7+
child.stderr.once('data', common.mustCall(function() {
8+
child.stdin.end('.exit');
9+
}));
10+
11+
child.on('exit', common.mustCall(function(c) {
12+
assert.strictEqual(c, 0);
13+
}));

0 commit comments

Comments
 (0)