diff options
Diffstat (limited to 'test/built-ins/RegExp/prototype/exec/failure-g-lastindex-reset.js')
-rw-r--r-- | test/built-ins/RegExp/prototype/exec/failure-g-lastindex-reset.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/RegExp/prototype/exec/failure-g-lastindex-reset.js b/test/built-ins/RegExp/prototype/exec/failure-g-lastindex-reset.js index a6c26e1e5..5ba6e38de 100644 --- a/test/built-ins/RegExp/prototype/exec/failure-g-lastindex-reset.js +++ b/test/built-ins/RegExp/prototype/exec/failure-g-lastindex-reset.js @@ -39,13 +39,13 @@ function reset(value) { lastIndexReads = 0; } -reset(42); // lastIndex beyond end of string. +reset(42); // lastIndex beyond end of string. result = r.exec('abc'); assert.sameValue(result, null); assert.sameValue(r.lastIndex, 0); assert.sameValue(lastIndexReads, 1); -reset(-1); // No match. +reset(-1); // No match. result = r.exec('nbc'); assert.sameValue(result, null); assert.sameValue(r.lastIndex, 0); |