summaryrefslogtreecommitdiff
path: root/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A12.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/RegExp/prototype/exec/S15.10.6.2_A12.js')
-rw-r--r--test/built-ins/RegExp/prototype/exec/S15.10.6.2_A12.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A12.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A12.js
index cbac6ac4c..1fd0f84ac 100644
--- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A12.js
+++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A12.js
@@ -8,7 +8,7 @@ description: Checking RegExp.prototype.exec
---*/
(/foo/).test('xfoox');
-var match = new RegExp('(.|\r|\n)*', '').exec()[0];
+var match = new RegExp('(.|\r|\n)*','').exec()[0];
if (match === 'xfoox') {
$ERROR('#1: regExp.exec() leaks match globally');
}