We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2b0070 commit eb9653cCopy full SHA for eb9653c
test/indexOf.js
@@ -345,9 +345,9 @@ tape('indexOf the entire nodejs10 buffer test suite', (t) => {
345
346
// Search for a non-ASCII string in a pure ASCII string.
347
const asciiString = Buffer.from(
348
- 'arglebargleglopglyfarglebargleglopglyfarglebargleglopglyf')
+ 'somethingnotatallsinisterwhichalsoworks')
349
t.equal(-1, asciiString.indexOf('\x2061'))
350
- t.equal(3, asciiString.indexOf('leb', 0))
+ t.equal(3, asciiString.indexOf('eth', 0))
351
352
// Search in string containing many non-ASCII chars.
353
const allCodePoints = []
0 commit comments