summaryrefslogtreecommitdiff
path: root/test/built-ins/RegExp/prototype/Symbol.match/builtin-success-g-set-lastindex-err.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/RegExp/prototype/Symbol.match/builtin-success-g-set-lastindex-err.js')
-rw-r--r--test/built-ins/RegExp/prototype/Symbol.match/builtin-success-g-set-lastindex-err.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/built-ins/RegExp/prototype/Symbol.match/builtin-success-g-set-lastindex-err.js b/test/built-ins/RegExp/prototype/Symbol.match/builtin-success-g-set-lastindex-err.js
index 14b24a188..7e5a605a2 100644
--- a/test/built-ins/RegExp/prototype/Symbol.match/builtin-success-g-set-lastindex-err.js
+++ b/test/built-ins/RegExp/prototype/Symbol.match/builtin-success-g-set-lastindex-err.js
@@ -43,7 +43,9 @@ var callCount = 0;
// completion originates from the second property modification.
Object.defineProperty(r, 'exec', {
get: function() {
- Object.defineProperty(r, 'lastIndex', { writable: false });
+ Object.defineProperty(r, 'lastIndex', {
+ writable: false
+ });
}
});