Skip to content

Commit 54778a0

Browse files
teppeisrvagg
authored andcommitted
test: fix arguments order in assert.strictEqual
PR-URL: #24591 Reviewed-By: Ron Korving <ron@ronkorving.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Masashi Hirano <shisama07@gmail.com>
1 parent 16d7060 commit 54778a0

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)