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