aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A10.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A10.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A10.js43
1 files changed, 0 insertions, 43 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A10.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A10.js
deleted file mode 100644
index 933db2917..000000000
--- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A10.js
+++ /dev/null
@@ -1,43 +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.7.1_A10;
-* @section: 15.10.7.1;
-* @assertion: The RegExp instance source property has the attribute ReadOnly;
-* @description: Checking if varying the source property fails;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.10.7.1_A10",
-
-path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.1_source/S15.10.7.1_A10.js",
-
-assertion: "The RegExp instance source property has the attribute ReadOnly",
-
-description: "Checking if varying the source property fails",
-
-test: function testcase() {
- __re = /./;
-
-//CHECK#1
-if (__re.hasOwnProperty('source') !== true) {
- $FAIL('#1: __re = /./; __re.hasOwnProperty(\'source\') === true');
-}
-
-__obj = __re.source;
-
-__re.source = "shifted";
-
-//CHECK#2
-if (__re.source !== __obj) {
- $ERROR('#2: __re = /./; __obj = __re.source; __re.source = "shifted"; __re.source === __obj. Actual: ' + (__re.source));
-}
-
-
- }
-});
-