Skip to content

Commit b9533c5

Browse files
tniessenBethGriggs
authored andcommitted
test: use conventional argument order in assertion
PR-URL: #40591 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 7230b6d commit b9533c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-buffer-fill.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ Buffer.alloc(8, '');
315315

316316
buf.fill('h');
317317
for (let i = 0; i < buf.length; i++)
318-
assert.strictEqual('h'.charCodeAt(0), buf[i]);
318+
assert.strictEqual(buf[i], 'h'.charCodeAt(0));
319319

320320
buf.fill(0);
321321
for (let i = 0; i < buf.length; i++)

0 commit comments

Comments
 (0)