aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.js')
-rw-r--r--test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.js37
1 files changed, 0 insertions, 37 deletions
diff --git a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.js b/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.js
deleted file mode 100644
index c8c8fb05c..000000000
--- a/test/suite/sputnik_converted/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.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: S11.12_A2.1_T4;
-* @section: 11.12, 8.7.1;
-* @assertion: Operator x ? y : z uses GetValue;
-* @description: If ToBoolean(x) is false and GetBase(z) is null, throw ReferenceError;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S11.12_A2.1_T4",
-
-path: "TestCases/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.js",
-
-assertion: "Operator x ? y : z uses GetValue",
-
-description: "If ToBoolean(x) is false and GetBase(z) is null, throw ReferenceError",
-
-test: function testcase() {
- //CHECK#1
-try {
- false ? true : z;
- $ERROR('#1.1: false ? true : z throw ReferenceError. Actual: ' + (false ? true : z));
-}
-catch (e) {
- if ((e instanceof ReferenceError) !== true) {
- $ERROR('#1.2: false ? true : z throw ReferenceError. Actual: ' + (e));
- }
-}
-
- }
-});
-