Skip to content

Commit

Permalink
Remove false-positive apache-exploit.
Browse files Browse the repository at this point in the history
  • Loading branch information
annitya committed Mar 4, 2020
1 parent c2b0070 commit eb9653c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/indexOf.js
Expand Up @@ -345,9 +345,9 @@ tape('indexOf the entire nodejs10 buffer test suite', (t) => {

// Search for a non-ASCII string in a pure ASCII string.
const asciiString = Buffer.from(
'arglebargleglopglyfarglebargleglopglyfarglebargleglopglyf')
'somethingnotatallsinisterwhichalsoworks')
t.equal(-1, asciiString.indexOf('\x2061'))
t.equal(3, asciiString.indexOf('leb', 0))
t.equal(3, asciiString.indexOf('eth', 0))

// Search in string containing many non-ASCII chars.
const allCodePoints = []
Expand Down

0 comments on commit eb9653c

Please sign in to comment.