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: fix assert value order
Switched assertion values to match assert.strictEqual() documentation
  • Loading branch information
EthanWeber7 committed Oct 12, 2018
commit 59e3bbb9d7719c76d7f154ffad2e6f07ac2f56c9
4 changes: 2 additions & 2 deletions test/parallel/test-repl-require.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ server.listen(options, function() {
});

process.on('exit', function() {
assert.strictEqual(false, /Cannot find module/.test(answer));
assert.strictEqual(false, /Error/.test(answer));
assert.strictEqual(/Cannot find module/.test(answer), false);
assert.strictEqual(/Error/.test(answer), false);
assert.strictEqual(answer, '\'eye catcher\'\n\'perhaps I work\'\n');
});