aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.js')
-rw-r--r--test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.js38
1 files changed, 0 insertions, 38 deletions
diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.js
deleted file mode 100644
index a05d4ee4d..000000000
--- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.js
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S11.4.7_A2.1_T2;
-* @section: 11.4.7;
-* @assertion: Operator -x uses GetValue;
-* @description: If GetBase(x) is null, throw ReferenceError;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S11.4.7_A2.1_T2",
-
-path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.js",
-
-assertion: "Operator -x uses GetValue",
-
-description: "If GetBase(x) is null, throw ReferenceError",
-
-test: function testcase() {
- //CHECK#1
-try {
- -x;
- $ERROR('#1.1: -x throw ReferenceError. Actual: ' + (-x));
-}
-catch (e) {
- if ((e instanceof ReferenceError) !== true) {
- $ERROR('#1.2: -x throw ReferenceError. Actual: ' + (e));
- }
-}
-
-
- }
-});
-