aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.js')
-rw-r--r--test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.js56
1 files changed, 0 insertions, 56 deletions
diff --git a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.js b/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.js
deleted file mode 100644
index b095d8cc3..000000000
--- a/test/suite/sputnik_converted/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.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: S7.3_A1.2_T1;
- * @section: 7.3;
- * @assertion: CARRIAGE RETURN (U+000D) may occur between any two tokens;
- * @description: Insert CARRIAGE RETURN (\u000D and \r) between tokens of var x=1;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S7.3_A1.2_T1",
-
-path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.js",
-
-assertion: "CARRIAGE RETURN (U+000D) may occur between any two tokens",
-
-description: "Insert CARRIAGE RETURN (\\u000D and \\r) between tokens of var x=1",
-
-test: function testcase() {
- // CHECK#1
-eval("\u000Dvar\u000Dx\u000D=\u000D1\u000D");
-if (x !== 1) {
- $ERROR('#1: eval("\\u000Dvar\\u000Dx\\u000D=\\u000D1\\u000D"); x === 1. Actual: ' + (x));
-}
-
-//CHECK#2
-eval("\u000D" + "var" + "\u000D" + "x" + "\u000D" + "=" + "\u000D" + "1" + "\u000D");
-if (x !== 1) {
- $ERROR('#2: eval("\\u000D" + "var" + "\\u000D" + "x" + "\\u000D" + "=" + "\\u000D" + "1" + "\\u000D"); x === 1. Actual: ' + (x));
-}
-
-//CHECK#3
-eval("\rvar\rx\r=\r1\r");
-if (x !== 1) {
- $ERROR('#3: eval("\\rvar\\rx\\r=\\r1\\r"); x === 1. Actual: ' + (x));
-}
-
-//CHECK#4
-eval("\r" + "var" + "\r" + "x" + "\r" + "=" + "\r" + "1" + "\r");
-if (x !== 1) {
- $ERROR('#4: eval("\\r" + "var" + "\\r" + "x" + "\\r" + "=" + "\\r" + "1" + "\\r"); x === 1. Actual: ' + (x));
-}
-
-//CHECK#5
-eval("\u000D" + "var" + "\r" + "x" + "\u000D" + "=" + "\r" + "1" + "\u000D");
-if (x !== 1) {
- $ERROR('#5: eval("\\u000D" + "var" + "\\r" + "x" + "\\u000D" + "=" + "\\r" + "1" + "\\u000D"); x === 1. Actual: ' + (x));
-}
-
- }
-});
-