| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e6c7ebe commit 4bca4a5
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -236,7 +236,7 @@ assert.strictEqual(mixedByteStringUtf8.indexOf('bc'), 5); | |||
| 236 | 236 | assert.strictEqual(mixedByteStringUtf8.indexOf('bc', 5), 5); | |
| 237 | 237 | assert.strictEqual(mixedByteStringUtf8.indexOf('bc', -8), 5); | |
| 238 | 238 | assert.strictEqual(mixedByteStringUtf8.indexOf('\u03a3'), 7); | |
| 239 | - assert.strictEqual(-1, mixedByteStringUtf8.indexOf('\u0396')); | ||
| 239 | + assert.strictEqual(mixedByteStringUtf8.indexOf('\u0396'), -1); | ||
| 240 | 240 | ||
| 241 | 241 | ||
| 242 | 242 | // Test complex string indexOf algorithms. Only trigger for long strings. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments