aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.js')
-rw-r--r--test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.js52
1 files changed, 0 insertions, 52 deletions
diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.js
deleted file mode 100644
index 2f249b247..000000000
--- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.js
+++ /dev/null
@@ -1,52 +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.8.6_A5_T2;
-* @section: 11.8.6;
-* @assertion: TypeError is subclass of Error from instanceof operator point of view;
-* @description: Checking TypeError case;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S11.8.6_A5_T2",
-
-path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.js",
-
-assertion: "TypeError is subclass of Error from instanceof operator point of view",
-
-description: "Checking TypeError case",
-
-test: function testcase() {
- var __t__err = new TypeError;
-
-//CHECK#1
-if (!(__t__err instanceof Error)) {
- $ERROR('#1: TypeError is subclass of Error from instanceof operator poit of view');
-}
-
-//CHECK#2
-if (!(__t__err instanceof TypeError)) {
- $ERROR('#2: TypeError is subclass of Error from instanceof operator poit of view');
-}
-
-//////////////////////////////////////////////////////////////////////////////
-var err__t__ = TypeError('failed');
-
-//CHECK#3
-if (!(err__t__ instanceof Error)) {
- $ERROR('#3: TypeError is subclass of Error from instanceof operator poit of view');
-}
-
-//CHECK#4
-if (!(err__t__ instanceof TypeError)) {
- $ERROR('#4: TypeError is subclass of Error from instanceof operator poit of view');
-}
-
-
- }
-});
-