aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T3.js')
-rw-r--r--test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T3.js62
1 files changed, 0 insertions, 62 deletions
diff --git a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T3.js b/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T3.js
deleted file mode 100644
index 9496c63ab..000000000
--- a/test/suite/sputnik_converted/08_Types/8.4_The_String_Type/S8.4_A9_T3.js
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S8.4_A9_T3;
- * @section: 8.4, 7.8.4;
- * @assertion: Assignment to string literals calls String constructor;
- * @description: Simple empty string variable compare with empty object String;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S8.4_A9_T3",
-
-path: "TestCases/08_Types/8.4_The_String_Type/S8.4_A9_T3.js",
-
-assertion: "Assignment to string literals calls String constructor",
-
-description: "Simple empty string variable compare with empty object String",
-
-test: function testcase() {
- var str="";
-var strObj=new String;
-
-////////////////////////////////////////////////////////////
-// CHECK#1
-if (str.constructor !== strObj.constructor){
- $ERROR('#1: "".constructor === new String.constructor');
-}
-//
-/////////////////////////////////////////////////////////////
-
-////////////////////////////////////////////////////////////
-// CHECK#2
-if (str != strObj){
- $ERROR('#2: values of str=""; and strObj=new String(""); are equal');
-}
-//
-/////////////////////////////////////////////////////////////
-
-////////////////////////////////////////////////////////////
-// CHECK#3
-if (str === strObj){
- $ERROR('#3: objects of str=""; and strObj=new String(""); are different');
-}
-//
-/////////////////////////////////////////////////////////////
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#4
-if (typeof str == typeof strObj){
- $ERROR('#4: types of str=""; and strObj=new String(""); are different');
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
-
- }
-});
-