summaryrefslogtreecommitdiff
path: root/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T6.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T6.js')
-rw-r--r--test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T6.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T6.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T6.js
index 2dcb863c3..9391e3eca 100644
--- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T6.js
+++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T6.js
@@ -12,10 +12,6 @@ description: >
var __re = /(z)((a+)?(b+)?(c))*/;
//CHECK#0
-if (__re.test((function() {
- return "zaacbbbcac"
- })()) !== (__re.exec((function() {
- return "zaacbbbcac"
- })()) !== null)) {
- $ERROR('#0: __re = /(z)((a+)?(b+)?(c))*/; __re.test((function(){return "zaacbbbcac"})()) === (__re.exec((function(){return "zaacbbbcac"})()) !== null)');
+if (__re.test((function(){return "zaacbbbcac"})()) !== (__re.exec((function(){return "zaacbbbcac"})()) !== null)) {
+ $ERROR('#0: __re = /(z)((a+)?(b+)?(c))*/; __re.test((function(){return "zaacbbbcac"})()) === (__re.exec((function(){return "zaacbbbcac"})()) !== null)');
}