aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.1_A2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.1_A2.js')
-rw-r--r--test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.1_A2.js44
1 files changed, 0 insertions, 44 deletions
diff --git a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.1_A2.js b/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.1_A2.js
deleted file mode 100644
index 3b8e02aec..000000000
--- a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.1_A2.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: S8.7.1_A2;
-* @section: 8.7.1;
-* @assertion: Delete operator can't delete reference, so it returns false to be applyed to reference;
-* @description: Try to delete y, where y is var y=1;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S8.7.1_A2",
-
-path: "TestCases/08_Types/8.7_The_Reference_Type/S8.7.1_A2.js",
-
-assertion: "Delete operator can\'t delete reference, so it returns false to be applyed to reference",
-
-description: "Try to delete y, where y is var y=1",
-
-test: function testcase() {
- var y = 1;
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#1
-if(delete y){
- $ERROR('#1: y = 1; (delete y) === false. Actual: ' + ((delete y)));
-};
-//
-//////////////////////////////////////////////////////////////////////////////
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#2
-if (y !== 1) {
- $ERROR('#2: y = 1; delete y; y === 1. Actual: ' + (y));
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
- }
-});
-