From 515ddbde06011adda2c4a3fca6a67f6bdccb4fa9 Mon Sep 17 00:00:00 2001 From: Lucas Liepert Date: Sat, 26 May 2018 14:50:48 -0400 Subject: [PATCH] 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. --- test/parallel/test-require-dot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-require-dot.js b/test/parallel/test-require-dot.js index 002a7ac988f2a1..423441cfcde435 100644 --- a/test/parallel/test-require-dot.js +++ b/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'); m._initPaths();