aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.js')
-rw-r--r--test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.js73
1 files changed, 0 insertions, 73 deletions
diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.js
deleted file mode 100644
index be40dc538..000000000
--- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.js
+++ /dev/null
@@ -1,73 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S7.3_A7_T4;
- * @section: 7.3;
- * @assertion: Line Terminators between operators are allowed;
- * @description: Insert Line Terminator in var x=y/z;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S7.3_A7_T4",
-
-path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.js",
-
-assertion: "Line Terminators between operators are allowed",
-
-description: "Insert Line Terminator in var x=y/z",
-
-test: function testcase() {
- // CHECK#1
-var y=12;
-var z=2;
-var
-x
-=
-y
-/
-z
-;
-if (x !== 6) {
- $ERROR('#1: var\\nx\\n=\\ny\\n/\\nz\\n; x === 6. Actual: ' + (x));
-}
-x=0;
-
-// CHECK#2
-var y=12;
-var z=2;
-var
-x
-=
-y
-/
-z
-;
-if (x !== 6) {
- $ERROR('#2: var\\nx\\n=\\ny\\n/\\nz\\n; x === 6. Actual: ' + (x));
-}
-x=0;
-
-// CHECK#3
-var y=12;
-var z=2;
-eval("\u2028var\u2028x\u2028=\u2028y\u2028/\u2028z\u2028");
-if (x !== 6) {
- $ERROR('#3: eval("\\u2028var\\u2028x\\u2028=\\u2028y\\u2028/\\u2028z\\u2028"); x === 6. Actual: ' + (x));
-}
-x=0;
-
-// CHECK#4
-var y=12;
-var z=2;
-eval("\u2029var\u2029x\u2029=\u2029y\u2029/\u2029z\u2029");
-if (x !== 6) {
- $ERROR('#4: eval("\\u2029var\\u2029x\\u2029=\\u2029y\\u2029/\\u2029z\\u2029"); x === 6. Actual: ' + (x));
-}
-
- }
-});
-