mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
test: fix ordering of assertion values
This commit is contained in:
1 parent
98f170fb86
commit
ecd9bc03f9
1 file changed
+2
-2
@@ -18,12 +18,12 @@ const v8TestsDirExists = fs.existsSync(v8TestsDir);
|
||||
// See for instance deps/v8/test/mjsunit/instanceof.js
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
function assertTrue(assertion) {
|
||||
return assert.strictEqual(true, assertion);
|
||||
return assert.strictEqual(assertion, true);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
function assertFalse(assertion) {
|
||||
assert.strictEqual(false, assertion);
|
||||
assert.strictEqual(assertion, false);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
|
||||
Reference in new issue
Block a user