aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A9.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.2_global/S15.10.7.2_A9.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A9.js44
1 files changed, 0 insertions, 44 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A9.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A9.js
deleted file mode 100644
index 850dd5b0c..000000000
--- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A9.js
+++ /dev/null
@@ -1,44 +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.2_A9;
-* @section: 15.10.7.2;
-* @assertion: The RegExp instance global property has the attribute DontDelete;
-* @description: Checking if deleting the global property fails;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.10.7.2_A9",
-
-path: "TestCases/15_Native/15.10_RegExp_Objects/15.10.7_Properties_of_RegExp_Instances/15.10.7.2_global/S15.10.7.2_A9.js",
-
-assertion: "The RegExp instance global property has the attribute DontDelete",
-
-description: "Checking if deleting the global property fails",
-
-test: function testcase() {
- __re = new RegExp;
-
-//CHECK#0
-if (__re.hasOwnProperty('global') !== true) {
- $FAIL('#0: __re = new RegExp; __re.hasOwnProperty(\'global\') === true');
-}
-
-//CHECK#1
-if ((delete __re.global) !== false) {
- $ERROR('#1: __re = new RegExp; (delete __re.global) === false');
-}
-
-//CHECK#2
-if (__re.hasOwnProperty('global') !== true) {
- $ERROR('#2: __re = new RegExp;delete __re.global === true; __re.hasOwnProperty(\'global\') === true');
-}
-
-
- }
-});
-