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 <ruben@bridgewater.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
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)