We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4716a9d commit b33b3e1Copy full SHA for b33b3e1
test/addons-napi/test_warning/test.js
@@ -11,8 +11,6 @@ if (process.argv[2] === 'child') {
11
'change at any time.';
12
13
const result = run(process.execPath, [__filename, 'child']);
14
- assert.deepStrictEqual(result.stdout.toString().match(/\S+/g), ['42', '1337'],
15
- 'Modules loaded correctly');
16
- assert.deepStrictEqual(result.stderr.toString().split(warning).length, 2,
17
- 'Warning was displayed only once');
+ assert.deepStrictEqual(result.stdout.toString().match(/\S+/g), ['42', '1337']);
+ assert.deepStrictEqual(result.stderr.toString().split(warning).length, 2);
18
}
0 commit comments