aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.js')
-rw-r--r--test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.js56
1 files changed, 0 insertions, 56 deletions
diff --git a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.js
deleted file mode 100644
index e0ea7c04e..000000000
--- a/test/suite/sputnik_converted/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.js
+++ /dev/null
@@ -1,56 +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.1_A3.2_T1.1;
- * @section: 11.8.1;
- * @assertion: Operator x < y returns ToString(x) < ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String;
- * @description: Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S11.8.1_A3.2_T1.1",
-
-path: "TestCases/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.js",
-
-assertion: "Operator x < y returns ToString(x) < ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String",
-
-description: "Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object",
-
-test: function testcase() {
- //CHECK#1
-if ("1" < "1" !== false) {
- $ERROR('#1: "1" < "1" === false');
-}
-
-//CHECK#2
-if (new String("1") < "1" !== false) {
- $ERROR('#2: new String("1") < "1" === false');
-}
-
-//CHECK#3
-if ("1" < new String("1") !== false) {
- $ERROR('#3: "1" < new String("1") === false');
-}
-
-//CHECK#4
-if (new String("1") < new String("1") !== false) {
- $ERROR('#4: new String("1") < new String("1") === false');
-}
-
-//CHECK#5
-if ("x" < "1" !== false) {
- $ERROR('#5: "x" < "1" === false');
-}
-
-//CHECK#6
-if ("1" < "x" !== true) {
- $ERROR('#6: "1" < "x" === true');
-}
-
- }
-});
-