Skip to content

Commit e464a1d

Browse files
teppeisBethGriggs
authored andcommitted
test: fix arguments order in assert.strictEqual
PR-URL: #24591 Reviewed-By: Ron Korving <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Masashi Hirano <[email protected]>
1 parent c7f876b commit e464a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-crypto-fips.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function testHelper(stream, args, expectedOutput, cmd, env) {
5454
assert.ok(response.includes(expectedOutput));
5555
} else {
5656
// Normal path where we expect either FIPS enabled or disabled.
57-
assert.strictEqual(expectedOutput, Number(response));
57+
assert.strictEqual(Number(response), expectedOutput);
5858
}
5959
childOk(child);
6060
}

0 commit comments

Comments
 (0)