Skip to content

Commit 5ad224d

Browse files
apoorvanandcodebytere
authored andcommitted
test: fix the arguments order in assert.strictEqual
PR-URL: #24431 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ouyang Yadong <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent cc4d866 commit 5ad224d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-buffer-alloc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ assert.strictEqual((Buffer.from('Man')).toString('base64'), 'TWFu');
326326
'dWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25vd2xlZ' +
327327
'GdlLCBleGNlZWRzIHRoZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm' +
328328
'5hbCBwbGVhc3VyZS4=';
329-
assert.strictEqual(expected, (Buffer.from(quote)).toString('base64'));
329+
assert.strictEqual((Buffer.from(quote)).toString('base64'), expected);
330330

331331
let b = Buffer.allocUnsafe(1024);
332332
let bytesWritten = b.write(expected, 0, 'base64');

0 commit comments

Comments
 (0)