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 BridgeAR committed Nov 13, 2018
1 parent 989c2aa commit 6076ccf
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 6076ccf

Please sign in to comment.