Skip to content
Browse files

test: removed message from strictEqual

By removing the message from strictEqual, it will now print out the
actual values of a and b, which will be more helpful in debugging. The
old message has been added as a comment above the test.

PR-URL: #20983
Reviewed-By: Ruben Bridgewater <>
Reviewed-By: Richard Lau <>
Reviewed-By: Trivikram Kamat <>
Reviewed-By: Rich Trott <>
Reviewed-By: Benjamin Gruenbaum <>
Reviewed-By: Colin Ihrig <>
Reviewed-By: Luigi Pinca <>
Reviewed-By: James M Snell <>
  • Loading branch information
lliepert authored and apapirovski committed Jun 1, 2018
1 parent f49bd39 commit b23f8ee6776c78e969ccd591dac2f3c413600c94
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/parallel/test-require-dot.js
@@ -8,7 +8,8 @@ const a = require(fixtures.path('module-require', 'relative', 'dot.js'));
const b = require(fixtures.path('module-require', 'relative', 'dot-slash.js'));

assert.strictEqual(a.value, 42);
assert.strictEqual(a, b, 'require(".") should resolve like require("./")');
// require(".") should resolve like require("./")
assert.strictEqual(a, b);

process.env.NODE_PATH = fixtures.path('module-require', 'relative');

0 comments on commit b23f8ee

Please sign in to comment.