aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A2_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A2_T1.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A2_T1.js41
1 files changed, 0 insertions, 41 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A2_T1.js
deleted file mode 100644
index d324fa356..000000000
--- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A2_T1.js
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S15.5.5_A2_T1;
-* @section: 15.5.5;
-* @assertion: String instance has not [[construct]] property;
-* @description: Create new string object and try new created_string;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.5.5_A2_T1",
-
-path: "TestCases/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5_A2_T1.js",
-
-assertion: "String instance has not [[construct]] property",
-
-description: "Create new string object and try new created_string",
-
-test: function testcase() {
- var __str = new Object("");
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#1
-try {
- new __str;
- $FAIL('#1: __str = new Object(""); "new __str" lead to throwing exception');
-} catch (e) {
- if (!(e instanceof TypeError)) {
- $ERROR('#1.1: Exception is instance of TypeError. Actual: exception is '+e);
- }
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
- }
-});
-