Skip to content

Commit

Permalink
test: fix order of arguments in test-delayed-require assertion
Browse files Browse the repository at this point in the history
Fix order of arguments in equality assertion in
test-delayed-require.

PR-URL: #24165
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
reineke-fox authored and MylesBorins committed Dec 26, 2018
1 parent 9a64cec commit e57a5c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-delayed-require.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const fixtures = require('../common/fixtures');

setTimeout(common.mustCall(function() {
const a = require(fixtures.path('a'));
assert.strictEqual(true, 'A' in a);
assert.strictEqual('A', a.A());
assert.strictEqual('D', a.D());
assert.strictEqual('A' in a, true);
assert.strictEqual(a.A(), 'A');
assert.strictEqual(a.D(), 'D');
}), 50);

0 comments on commit e57a5c3

Please sign in to comment.