aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3.js52
1 files changed, 0 insertions, 52 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3.js
deleted file mode 100644
index 7ffdc6ced..000000000
--- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3.js
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S15.10.2.12_A4_T3;
-* @section: 15.10.2.12;
-* @assertion: The production CharacterClassEscape :: W evaluates by returning the set of all characters not
-* included in the set returned by CharacterClassEscape :: w;
-* @description: 0 - 9;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.10.2.12_A4_T3",
-
-path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.12_CharacterClassEscape/S15.10.2.12_A4_T3.js",
-
-assertion: "The production CharacterClassEscape :: W evaluates by returning the set of all characters not",
-
-description: "0 - 9",
-
-test: function testcase() {
- var regexp_W = /\W/;
-
-//CHECK#0030-0039
-var result = true;
-for (alpha = 0x0030; alpha <= 0x0039; alpha++) {
- if (regexp_W.exec(String.fromCharCode(alpha)) !== null) {
- result = false;
- }
-}
-
-if (result !== true) {
- $ERROR('#1: 0 - 9');
-}
-
-//CHECK#005F
-if (regexp_W.exec("_") !== null) {
- $ERROR('#2: _');
-}
-
-//CHECK#0020
-var arr = regexp_W.exec(" ");
-if ((arr === null) || (arr[0] !== "\u0020")) {
- $ERROR('#2: ');
-}
-
- }
-});
-