aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T8.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T8.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T8.js37
1 files changed, 0 insertions, 37 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T8.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T8.js
deleted file mode 100644
index 3d235e51d..000000000
--- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T8.js
+++ /dev/null
@@ -1,37 +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.6.2_A1_T8;
-* @section: 15.10.6.2;
-* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
-* returns an Array object containing the results of the match, or null if the string did not match;
-* @description: String is {toString:void 0, valueOf:function(){throw "invalof";}} and RegExp is /[a-z]/;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.10.6.2_A1_T8",
-
-path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T8.js",
-
-assertion: "RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and",
-
-description: "String is {toString:void 0, valueOf:function(){throw \"invalof\";}} and RegExp is /[a-z]/",
-
-test: function testcase() {
- //CHECK#1
-try {
- $ERROR('#1.1: /[a-z]/.exec({toString:void 0, valueOf:function(){throw "invalof"}}) throw "invalof". Actual: ' + (/[a-z]/.exec({toString:void 0, valueOf:function(){throw "invalof"}})));
-} catch (e) {
- if (e !== "invalof") {
- $ERROR('#1.2: /[a-z]/.exec({toString:void 0, valueOf:function(){throw "invalof"}}) throw "invalof". Actual: ' + (e));
- }
-}
-
-
- }
-});
-