From ebab7cf055fc08db5650f9231445f929a2f016aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Bargull?= <andre.bargull@gmail.com>
Date: Wed, 8 Jul 2015 19:01:22 +0200
Subject: [PATCH] Clean-up test comments and remove invalid tests

- 15.10.2.15-3-1 and 15.10.2.15-3-2 are both invalid (U+002F (SOLIDUS) instead of U+005C (REVERSE SOLIDUS) was used to start an escape sequence).
- 15.10.4.1-2 and 15.10.2.2-1 are identical tests, delete the latter.
- Update tests to avoid using runTestCase() function.
- Update multiple test infos to point to correct algorithm step (CharacterRange step 6 instead of step 1).
---
 test/built-ins/RegExp/15.10.2.15-3-1.js     | 24 ---------------------
 test/built-ins/RegExp/15.10.2.15-3-2.js     | 24 ---------------------
 test/built-ins/RegExp/15.10.2.15-6-1.js     | 14 +++---------
 test/built-ins/RegExp/15.10.2.2-1.js        | 22 -------------------
 test/built-ins/RegExp/15.10.2.5-3-1.js      | 14 +++---------
 test/built-ins/RegExp/15.10.4.1-1.js        | 14 +++++-------
 test/built-ins/RegExp/15.10.4.1-2.js        | 14 +++---------
 test/built-ins/RegExp/15.10.4.1-3.js        | 14 +++---------
 test/built-ins/RegExp/15.10.4.1-4.js        | 12 +----------
 test/built-ins/RegExp/S15.10.2.15_A1_T1.js  |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T10.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T11.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T12.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T13.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T14.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T15.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T16.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T17.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T18.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T19.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T2.js  |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T20.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T21.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T22.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T23.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T24.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T25.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T26.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T27.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T28.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T29.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T3.js  |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T30.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T31.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T32.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T33.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T34.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T35.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T36.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T37.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T38.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T39.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T4.js  |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T40.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T41.js |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T5.js  |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T6.js  |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T7.js  |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T8.js  |  7 ++++--
 test/built-ins/RegExp/S15.10.2.15_A1_T9.js  |  7 ++++--
 test/built-ins/RegExp/S15.10.4.1_A5_T3.js   |  2 +-
 test/built-ins/RegExp/S15.10.7_A1_T1.js     |  2 +-
 test/built-ins/RegExp/S15.10.7_A1_T2.js     |  2 +-
 test/built-ins/RegExp/S15.10.7_A2_T1.js     |  2 +-
 test/built-ins/RegExp/S15.10.7_A2_T2.js     |  2 +-
 55 files changed, 228 insertions(+), 221 deletions(-)
 delete mode 100644 test/built-ins/RegExp/15.10.2.15-3-1.js
 delete mode 100644 test/built-ins/RegExp/15.10.2.15-3-2.js
 delete mode 100644 test/built-ins/RegExp/15.10.2.2-1.js

diff --git a/test/built-ins/RegExp/15.10.2.15-3-1.js b/test/built-ins/RegExp/15.10.2.15-3-1.js
deleted file mode 100644
index a04d5d06bf..0000000000
--- a/test/built-ins/RegExp/15.10.2.15-3-1.js
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) 2012 Ecma International.  All rights reserved.
-// Ecma International makes this code available under the terms and conditions set
-// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-// "Use Terms").   Any redistribution of this code must retain the above
-// copyright and this notice and otherwise comply with the Use Terms.
-
-/*---
-es5id: 15.10.2.15-3-1
-description: >
-    Pattern - SyntaxError was thrown when 'A' does not contain exactly
-    one character (15.10.2.5 step 3)
-includes: [runTestCase.js]
----*/
-
-function testcase() {
-        try {
-            var regExp = new RegExp("^[/w-c]$");
-
-            return false;
-        } catch (e) {
-            return e instanceof SyntaxError;
-        }
-    }
-runTestCase(testcase);
diff --git a/test/built-ins/RegExp/15.10.2.15-3-2.js b/test/built-ins/RegExp/15.10.2.15-3-2.js
deleted file mode 100644
index 2f9bf20367..0000000000
--- a/test/built-ins/RegExp/15.10.2.15-3-2.js
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) 2012 Ecma International.  All rights reserved.
-// Ecma International makes this code available under the terms and conditions set
-// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-// "Use Terms").   Any redistribution of this code must retain the above
-// copyright and this notice and otherwise comply with the Use Terms.
-
-/*---
-es5id: 15.10.2.15-3-2
-description: >
-    Pattern - SyntaxError was thrown when 'B' does not contain exactly
-    one character (15.10.2.5 step 3)
-includes: [runTestCase.js]
----*/
-
-function testcase() {
-        try {
-            var regExp = new RegExp("^[a-/w]$");
-
-            return false;
-        } catch (e) {
-            return e instanceof SyntaxError;
-        }
-    }
-runTestCase(testcase);
diff --git a/test/built-ins/RegExp/15.10.2.15-6-1.js b/test/built-ins/RegExp/15.10.2.15-6-1.js
index f39db7b770..f7cf742484 100644
--- a/test/built-ins/RegExp/15.10.2.15-6-1.js
+++ b/test/built-ins/RegExp/15.10.2.15-6-1.js
@@ -10,16 +10,8 @@ description: >
     Pattern - SyntaxError was thrown when one character in CharSet 'A'
     greater than one character in CharSet 'B' (15.10.2.15
     CharacterRange step 6)
-includes: [runTestCase.js]
 ---*/
 
-function testcase() {
-        try {
-            var regExp = new RegExp("^[z-a]$");
-
-            return false;
-        } catch (e) {
-            return e instanceof SyntaxError;
-        }
-    }
-runTestCase(testcase);
+assert.throws(SyntaxError, function() {
+  var regExp = new RegExp("^[z-a]$");
+});
diff --git a/test/built-ins/RegExp/15.10.2.2-1.js b/test/built-ins/RegExp/15.10.2.2-1.js
deleted file mode 100644
index 60b69de9a5..0000000000
--- a/test/built-ins/RegExp/15.10.2.2-1.js
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright (c) 2012 Ecma International.  All rights reserved.
-// Ecma International makes this code available under the terms and conditions set
-// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-// "Use Terms").   Any redistribution of this code must retain the above
-// copyright and this notice and otherwise comply with the Use Terms.
-
-/*---
-es5id: 15.10.2.2-1
-description: Pattern - SyntaxError was thrown when compile a pattern
-includes: [runTestCase.js]
----*/
-
-function testcase() {
-        try {
-            var regExp = new RegExp("\\");
-
-            return false;
-        } catch (e) {
-            return e instanceof SyntaxError;
-        }
-    }
-runTestCase(testcase);
diff --git a/test/built-ins/RegExp/15.10.2.5-3-1.js b/test/built-ins/RegExp/15.10.2.5-3-1.js
index 66aff23314..7e3e77d0b8 100644
--- a/test/built-ins/RegExp/15.10.2.5-3-1.js
+++ b/test/built-ins/RegExp/15.10.2.5-3-1.js
@@ -9,16 +9,8 @@ es5id: 15.10.2.5-3-1
 description: >
     Term - SyntaxError was thrown when max is finite and less than min
     (15.10.2.5 step 3)
-includes: [runTestCase.js]
 ---*/
 
-function testcase() {
-        try {
-            var regExp = new RegExp("0{2,1}");
-
-            return false;
-        } catch (e) {
-            return e instanceof SyntaxError;
-        }
-    }
-runTestCase(testcase);
+assert.throws(SyntaxError, function() {
+  var regExp = new RegExp("0{2,1}");
+});
diff --git a/test/built-ins/RegExp/15.10.4.1-1.js b/test/built-ins/RegExp/15.10.4.1-1.js
index c7974e62f4..bfe604fc2b 100644
--- a/test/built-ins/RegExp/15.10.4.1-1.js
+++ b/test/built-ins/RegExp/15.10.4.1-1.js
@@ -7,14 +7,10 @@
 /*---
 es5id: 15.10.4.1-1
 description: >
-    RegExp - no TypeError is thrown when pattern is an object whose
-    [[Class]] property is 'RegExp' and flags is not undefined
-includes: [runTestCase.js]
+    RegExp - no TypeError is thrown when pattern is an object and
+    has a [[RegExpMatcher]] internal slot, and flags is not undefined
 ---*/
 
-function testcase() {
-    var regObj = new RegExp();
-    var regExpObj = new RegExp(regObj, "g");
-    return regExpObj.global;
-}
-runTestCase(testcase);
+var regObj = new RegExp();
+var regExpObj = new RegExp(regObj, "g");
+assert(regExpObj.global);
diff --git a/test/built-ins/RegExp/15.10.4.1-2.js b/test/built-ins/RegExp/15.10.4.1-2.js
index 82b8ef017b..974f52f494 100644
--- a/test/built-ins/RegExp/15.10.4.1-2.js
+++ b/test/built-ins/RegExp/15.10.4.1-2.js
@@ -9,16 +9,8 @@ es5id: 15.10.4.1-2
 description: >
     RegExp - the thrown error is SyntaxError instead of RegExpError
     when the characters of 'P' do not have the syntactic form Pattern
-includes: [runTestCase.js]
 ---*/
 
-function testcase() {
-        try {
-            var regExpObj = new RegExp('\\');
-
-            return false;
-        } catch (e) {
-            return e instanceof SyntaxError;
-        }
-    }
-runTestCase(testcase);
+assert.throws(SyntaxError, function() {
+  var regExpObj = new RegExp('\\');
+});
diff --git a/test/built-ins/RegExp/15.10.4.1-3.js b/test/built-ins/RegExp/15.10.4.1-3.js
index 168a71de6c..423d5ebfcc 100644
--- a/test/built-ins/RegExp/15.10.4.1-3.js
+++ b/test/built-ins/RegExp/15.10.4.1-3.js
@@ -9,16 +9,8 @@ es5id: 15.10.4.1-3
 description: >
     RegExp - the thrown error is SyntaxError instead of RegExpError
     when 'F' contains any character other than 'g', 'i', or 'm'
-includes: [runTestCase.js]
 ---*/
 
-function testcase() {
-        try {
-            var regExpObj = new RegExp('abc', 'a');
-
-            return false;
-        } catch (e) {
-            return e instanceof SyntaxError;
-        }
-    }
-runTestCase(testcase);
+assert.throws(SyntaxError, function() {
+  var regExpObj = new RegExp('abc', 'a');
+});
diff --git a/test/built-ins/RegExp/15.10.4.1-4.js b/test/built-ins/RegExp/15.10.4.1-4.js
index 094a1ea7f8..9cfb69093f 100644
--- a/test/built-ins/RegExp/15.10.4.1-4.js
+++ b/test/built-ins/RegExp/15.10.4.1-4.js
@@ -7,16 +7,6 @@
 /*---
 es5id: 15.10.4.1-4
 description: RegExp - the SyntaxError is not thrown when flags is 'gim'
-includes: [runTestCase.js]
 ---*/
 
-function testcase() {
-        try {
-            var regExpObj = new RegExp('abc', 'gim');
-
-            return true;
-        } catch (e) {
-            return false;
-        }
-    }
-runTestCase(testcase);
+var regExpObj = new RegExp('abc', 'gim');
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T1.js b/test/built-ins/RegExp/S15.10.2.15_A1_T1.js
index eea878027f..72f758d325 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T1.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T1.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T1
 description: >
     Checking if execution of "/[b-ac-e]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T10.js b/test/built-ins/RegExp/S15.10.2.15_A1_T10.js
index 1aecb00328..4dc111d8cc 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T10.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T10.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T10
 description: >
     Checking if execution of "/[\10b-G]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T11.js b/test/built-ins/RegExp/S15.10.2.15_A1_T11.js
index beec600293..c25edacb06 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T11.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T11.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T11
 description: >
     Checking if execution of "/[\bd-G]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T12.js b/test/built-ins/RegExp/S15.10.2.15_A1_T12.js
index 45defcedab..adf1bf6a82 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T12.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T12.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T12
 description: >
     Checking if execution of "/[\Bd-G]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T13.js b/test/built-ins/RegExp/S15.10.2.15_A1_T13.js
index c3118a67e6..228db21e82 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T13.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T13.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T13
 description: >
     Checking if execution of "/[\td-G]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T14.js b/test/built-ins/RegExp/S15.10.2.15_A1_T14.js
index a0a5486e8f..4c5820f057 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T14.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T14.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T14
 description: >
     Checking if execution of "/[\nd-G]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T15.js b/test/built-ins/RegExp/S15.10.2.15_A1_T15.js
index eb66be0d65..9132b19abb 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T15.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T15.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T15
 description: >
     Checking if execution of "/[\vd-G]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T16.js b/test/built-ins/RegExp/S15.10.2.15_A1_T16.js
index 52d25e7d1c..264dfa040b 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T16.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T16.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T16
 description: >
     Checking if execution of "/[\fd-G]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T17.js b/test/built-ins/RegExp/S15.10.2.15_A1_T17.js
index 6467b1d2cd..d3f818ec37 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T17.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T17.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T17
 description: >
     Checking if execution of "/[\rd-G]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T18.js b/test/built-ins/RegExp/S15.10.2.15_A1_T18.js
index cde13e9e87..036426a216 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T18.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T18.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T18
 description: >
     Checking if execution of "/[\c0001d-G]/.exec("1")" leads to
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T19.js b/test/built-ins/RegExp/S15.10.2.15_A1_T19.js
index 049fa65297..afc728365b 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T19.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T19.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T19
 description: >
     Checking if execution of "/[\x0061d-G]/.exec("1")" leads to
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T2.js b/test/built-ins/RegExp/S15.10.2.15_A1_T2.js
index df9b21bd8e..716b4c66a0 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T2.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T2.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T2
 description: >
     Checking if execution of "/[a-dc-b]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T20.js b/test/built-ins/RegExp/S15.10.2.15_A1_T20.js
index 25d45c7436..7d7dc1709e 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T20.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T20.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T20
 description: >
     Checking if execution of "/[\u0061d-G]/.exec("a")" leads to
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T21.js b/test/built-ins/RegExp/S15.10.2.15_A1_T21.js
index 07d47f3dcb..991e093696 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T21.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T21.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T21
 description: >
     Checking if execution of "/[\ad-G]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T22.js b/test/built-ins/RegExp/S15.10.2.15_A1_T22.js
index 8d456186f7..9ce67ef0c8 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T22.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T22.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T22
 description: >
     Checking if execution of "/[c-eb-a]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T23.js b/test/built-ins/RegExp/S15.10.2.15_A1_T23.js
index 38091420e2..82469295b4 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T23.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T23.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T23
 description: >
     Checking if execution of "/[b-G\d]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T24.js b/test/built-ins/RegExp/S15.10.2.15_A1_T24.js
index 800a255bb3..68cade9dcc 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T24.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T24.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T24
 description: >
     Checking if execution of "/[b-G\D]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T25.js b/test/built-ins/RegExp/S15.10.2.15_A1_T25.js
index 4f270fd053..c4e31a4501 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T25.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T25.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T25
 description: >
     Checking if execution of "/[b-G\s]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T26.js b/test/built-ins/RegExp/S15.10.2.15_A1_T26.js
index 13d00b55b8..507b97ad9b 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T26.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T26.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T26
 description: >
     Checking if execution of "/[b-G\S]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T27.js b/test/built-ins/RegExp/S15.10.2.15_A1_T27.js
index 72cd64f628..9bf451bc85 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T27.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T27.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T27
 description: >
     Checking if execution of "/[b-G\w]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T28.js b/test/built-ins/RegExp/S15.10.2.15_A1_T28.js
index 896abe7106..7204911718 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T28.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T28.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T28
 description: >
     Checking if execution of "/[b-G\W]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T29.js b/test/built-ins/RegExp/S15.10.2.15_A1_T29.js
index 619d2aed0d..9aba98dea2 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T29.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T29.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T29
 description: >
     Checking if execution of "/[b-G\0]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T3.js b/test/built-ins/RegExp/S15.10.2.15_A1_T3.js
index 27c2f4892b..0a5dcc8dcd 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T3.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T3.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T3
 description: >
     Checking if execution of "/[\db-G]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T30.js b/test/built-ins/RegExp/S15.10.2.15_A1_T30.js
index 570f0caf60..a14784f2a5 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T30.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T30.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T30
 description: >
     Checking if execution of "/[b-G\10]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T31.js b/test/built-ins/RegExp/S15.10.2.15_A1_T31.js
index 5c1c1ed5c4..ded52edab9 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T31.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T31.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T31
 description: >
     Checking if execution of "/[d-G\b]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T32.js b/test/built-ins/RegExp/S15.10.2.15_A1_T32.js
index 842277bc65..15ca57398d 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T32.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T32.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T32
 description: >
     Checking if execution of "/[d-G\B]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T33.js b/test/built-ins/RegExp/S15.10.2.15_A1_T33.js
index b28acc4ece..b1e1bd838a 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T33.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T33.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T33
 description: >
     Checking if execution of "/[d-G\t]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T34.js b/test/built-ins/RegExp/S15.10.2.15_A1_T34.js
index 4649349cf2..207b67873f 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T34.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T34.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T34
 description: >
     Checking if execution of "/[d-G\n]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T35.js b/test/built-ins/RegExp/S15.10.2.15_A1_T35.js
index 0de467bf68..cefbdd715d 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T35.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T35.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T35
 description: >
     Checking if execution of "/[d-G\v]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T36.js b/test/built-ins/RegExp/S15.10.2.15_A1_T36.js
index 8002df6451..1dd343cd81 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T36.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T36.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T36
 description: >
     Checking if execution of "/[d-G\f]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T37.js b/test/built-ins/RegExp/S15.10.2.15_A1_T37.js
index 2275d015b2..0e7164bc6a 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T37.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T37.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T37
 description: >
     Checking if execution of "/[d-G\r]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T38.js b/test/built-ins/RegExp/S15.10.2.15_A1_T38.js
index 002ec67d9e..34987f7742 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T38.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T38.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T38
 description: >
     Checking if execution of "/[d-G\c0001]/.exec("1")" leads to
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T39.js b/test/built-ins/RegExp/S15.10.2.15_A1_T39.js
index 91ec4830cc..f12e3ef064 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T39.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T39.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T39
 description: >
     Checking if execution of "/[d-G\x0061]/.exec("1")" leads to
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T4.js b/test/built-ins/RegExp/S15.10.2.15_A1_T4.js
index 9550aa77b5..a45eef13be 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T4.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T4.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T4
 description: >
     Checking if execution of "/[\Db-G]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T40.js b/test/built-ins/RegExp/S15.10.2.15_A1_T40.js
index 53b94cef04..d5a3d16d64 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T40.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T40.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T40
 description: >
     Checking if execution of "/[d-G\u0061]/.exec("a")" leads to
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T41.js b/test/built-ins/RegExp/S15.10.2.15_A1_T41.js
index 53a1cd17b2..e2627077d3 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T41.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T41.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T41
 description: >
     Checking if execution of "/[d-G\a]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T5.js b/test/built-ins/RegExp/S15.10.2.15_A1_T5.js
index c7231cff53..ffd6832840 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T5.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T5.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T5
 description: >
     Checking if execution of "/[\sb-G]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T6.js b/test/built-ins/RegExp/S15.10.2.15_A1_T6.js
index 41590e4f71..78e050d6be 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T6.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T6.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T6
 description: >
     Checking if execution of "/[\Sb-G]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T7.js b/test/built-ins/RegExp/S15.10.2.15_A1_T7.js
index fe0c0de442..e95e0504fd 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T7.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T7.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T7
 description: >
     Checking if execution of "/[\wb-G]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T8.js b/test/built-ins/RegExp/S15.10.2.15_A1_T8.js
index 53453b3dbb..402f375eb3 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T8.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T8.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T8
 description: >
     Checking if execution of "/[\Wb-G]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.2.15_A1_T9.js b/test/built-ins/RegExp/S15.10.2.15_A1_T9.js
index 3ebe54723d..ec16f8499d 100644
--- a/test/built-ins/RegExp/S15.10.2.15_A1_T9.js
+++ b/test/built-ins/RegExp/S15.10.2.15_A1_T9.js
@@ -5,8 +5,11 @@
 info: >
     The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
     following:
-    If A does not contain exactly one character or B does not contain exactly one character then throw
-    a SyntaxError exception
+    2. Let a be the one character in CharSet A.
+    3. Let b be the one character in CharSet B.
+    4. Let i be the character value of character a.
+    5. Let j be the character value of character b.
+    6. If i > j, throw a SyntaxError exception.
 es5id: 15.10.2.15_A1_T9
 description: >
     Checking if execution of "/[\0b-G]/.exec("a")" leads to throwing
diff --git a/test/built-ins/RegExp/S15.10.4.1_A5_T3.js b/test/built-ins/RegExp/S15.10.4.1_A5_T3.js
index 67168f801a..1170260c0c 100644
--- a/test/built-ins/RegExp/S15.10.4.1_A5_T3.js
+++ b/test/built-ins/RegExp/S15.10.4.1_A5_T3.js
@@ -6,7 +6,7 @@ info: >
     If F contains any character other than 'g', 'i', or 'm', or if it
     contains the same one more than once, then throw a SyntaxError exception
 es5id: 15.10.4.1_A5_T3
-description: Checking by using eval, try to use eval("\"migg\"") as F
+description: Checking by using eval, try to use eval("\"migr\"") as F
 ---*/
 
 //CHECK#1
diff --git a/test/built-ins/RegExp/S15.10.7_A1_T1.js b/test/built-ins/RegExp/S15.10.7_A1_T1.js
index 0dcc029ca3..32a29be58e 100644
--- a/test/built-ins/RegExp/S15.10.7_A1_T1.js
+++ b/test/built-ins/RegExp/S15.10.7_A1_T1.js
@@ -2,7 +2,7 @@
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
-info: RegExp instance has not [[call]] property
+info: RegExp instance has no [[Call]] internal method
 es5id: 15.10.7_A1_T1
 description: Checking if call of RegExp instance fails
 ---*/
diff --git a/test/built-ins/RegExp/S15.10.7_A1_T2.js b/test/built-ins/RegExp/S15.10.7_A1_T2.js
index 53e96adcb7..96dfbeb1d6 100644
--- a/test/built-ins/RegExp/S15.10.7_A1_T2.js
+++ b/test/built-ins/RegExp/S15.10.7_A1_T2.js
@@ -2,7 +2,7 @@
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
-info: RegExp instance has not [[call]] property
+info: RegExp instance has no [[Call]] internal method
 es5id: 15.10.7_A1_T2
 description: Checking if call of RegExp("a|b","g")() fails
 ---*/
diff --git a/test/built-ins/RegExp/S15.10.7_A2_T1.js b/test/built-ins/RegExp/S15.10.7_A2_T1.js
index 69a53abd16..8d403ad855 100644
--- a/test/built-ins/RegExp/S15.10.7_A2_T1.js
+++ b/test/built-ins/RegExp/S15.10.7_A2_T1.js
@@ -2,7 +2,7 @@
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
-info: RegExp instance has not [[construct]] property
+info: RegExp instance has no [[Construct]] internal method
 es5id: 15.10.7_A2_T1
 description: Checking if creating new RegExp instance fails
 ---*/
diff --git a/test/built-ins/RegExp/S15.10.7_A2_T2.js b/test/built-ins/RegExp/S15.10.7_A2_T2.js
index 25b0470181..abc5b44ccf 100644
--- a/test/built-ins/RegExp/S15.10.7_A2_T2.js
+++ b/test/built-ins/RegExp/S15.10.7_A2_T2.js
@@ -2,7 +2,7 @@
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
-info: RegExp instance has not [[construct]] property
+info: RegExp instance has no [[Construct]] internal method
 es5id: 15.10.7_A2_T2
 description: Checking if creating "new RegExp" instance fails
 ---*/
-- 
GitLab