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 <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
reineke-fox authored and Trott committed Nov 9, 2018
1 parent a4a2e9f commit 8884a98
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 8884a98

Please sign in to comment.