Skip to content

Commit

Permalink
test: change order of arguments
Browse files Browse the repository at this point in the history
PR-URL: #28359
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
MistyBlunch authored and targos committed Jul 2, 2019
1 parent e6c7ebe commit 4bca4a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-buffer-indexof.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ assert.strictEqual(mixedByteStringUtf8.indexOf('bc'), 5);
assert.strictEqual(mixedByteStringUtf8.indexOf('bc', 5), 5);
assert.strictEqual(mixedByteStringUtf8.indexOf('bc', -8), 5);
assert.strictEqual(mixedByteStringUtf8.indexOf('\u03a3'), 7);
assert.strictEqual(-1, mixedByteStringUtf8.indexOf('\u0396'));
assert.strictEqual(mixedByteStringUtf8.indexOf('\u0396'), -1);


// Test complex string indexOf algorithms. Only trigger for long strings.
Expand Down

0 comments on commit 4bca4a5

Please sign in to comment.