Skip to content

Commit cf6ded4

Browse files
tniessentargos
authored andcommitted
test: use conventional argument order in assertion
PR-URL: #40591 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Voltrex <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 18296c3 commit cf6ded4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-buffer-fill.js

+1-1
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)