Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: updating test file to use strictEqual
updating test file to use assert.strictEqual() instead of
assert.equal()
  • Loading branch information
ashtonian committed Dec 1, 2016
commit f053aac6d4eb904cbdaf7d644e5be754009a674b
4 changes: 2 additions & 2 deletions test/parallel/test-child-process-stdout-flush-exit.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if (process.argv[2] === 'child') {
});

child.on('close', common.mustCall(function() {
assert.equal(stdout.slice(0, 6), 'hello\n');
assert.equal(stdout.slice(stdout.length - 8), 'goodbye\n');
assert.strictEqual(stdout.slice(0, 6), 'hello\n');
assert.strictEqual(stdout.slice(stdout.length - 8), 'goodbye\n');
}));
}