Skip to content

Commit d84aa51

Browse files
lliepertMylesBorins
authored andcommitted
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 <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent e4224fd commit d84aa51

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-require-dot.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ const a = require(fixtures.path('module-require', 'relative', 'dot.js'));
88
const b = require(fixtures.path('module-require', 'relative', 'dot-slash.js'));
99

1010
assert.strictEqual(a.value, 42);
11-
assert.strictEqual(a, b, 'require(".") should resolve like require("./")');
11+
// require(".") should resolve like require("./")
12+
assert.strictEqual(a, b);
1213

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

0 commit comments

Comments
 (0)