diff options
Diffstat (limited to 'test/suite/ch07/7.2')
45 files changed, 195 insertions, 324 deletions
diff --git a/test/suite/ch07/7.2/S7.2_A1.1_T1.js b/test/suite/ch07/7.2/S7.2_A1.1_T1.js index 1c8e5a9ca..69e5f1768 100644 --- a/test/suite/ch07/7.2/S7.2_A1.1_T1.js +++ b/test/suite/ch07/7.2/S7.2_A1.1_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * HORIZONTAL TAB (U+0009) between any two tokens is allowed - * - * @path ch07/7.2/S7.2_A1.1_T1.js - * @description Insert HORIZONTAL TAB(\u0009 and \t) between tokens of var x=1 - */ +/*--- +info: HORIZONTAL TAB (U+0009) between any two tokens is allowed +description: Insert HORIZONTAL TAB(\u0009 and \t) between tokens of var x=1 +---*/ // CHECK#1 eval("\u0009var\u0009x\u0009=\u00091\u0009"); @@ -37,4 +35,3 @@ eval("\u0009" + "var" + "\t" + "x" + "\u0009" + "=" + "\t" + "1" + "\u0009"); if (x !== 1) { $ERROR('#5: eval("\\u0009" + "var" + "\\t" + "x" + "\\u0009" + "=" + "\\t" + "1" + "\\u0009"); x === 1. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A1.1_T2.js b/test/suite/ch07/7.2/S7.2_A1.1_T2.js index 081c60ef3..3dbaf225d 100644 --- a/test/suite/ch07/7.2/S7.2_A1.1_T2.js +++ b/test/suite/ch07/7.2/S7.2_A1.1_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * HORIZONTAL TAB (U+0009) between any two tokens is allowed - * - * @path ch07/7.2/S7.2_A1.1_T2.js - * @description Insert real HORIZONTAL TAB between tokens of var x=1 - */ +/*--- +info: HORIZONTAL TAB (U+0009) between any two tokens is allowed +description: Insert real HORIZONTAL TAB between tokens of var x=1 +---*/ //CHECK#1 var x = 1 ; @@ -19,4 +17,3 @@ eval(" var\tx =\t2 "); if (x !== 2) { $ERROR('#2: var\\tx =\\t1 ; x === 2. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A1.2_T1.js b/test/suite/ch07/7.2/S7.2_A1.2_T1.js index 19be1c7e2..05a5d1e3f 100644 --- a/test/suite/ch07/7.2/S7.2_A1.2_T1.js +++ b/test/suite/ch07/7.2/S7.2_A1.2_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * VERTICAL TAB (U+000B) between any two tokens is allowed - * - * @path ch07/7.2/S7.2_A1.2_T1.js - * @description Insert VERTICAL TAB(\u000B and \v) between tokens of var x=1 - */ +/*--- +info: VERTICAL TAB (U+000B) between any two tokens is allowed +description: Insert VERTICAL TAB(\u000B and \v) between tokens of var x=1 +---*/ // CHECK#1 eval("\u000Bvar\u000Bx\u000B=\u000B1\u000B"); @@ -37,4 +35,3 @@ eval("\u000B" + "var" + "\v" + "x" + "\u000B" + "=" + "\v" + "1" + "\u000B"); if (x !== 1) { $ERROR('#5: eval("\\u000B" + "var" + "\\v" + "x" + "\\u000B" + "=" + "\\v" + "1" + "\\u000B"); x === 1. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A1.2_T2.js b/test/suite/ch07/7.2/S7.2_A1.2_T2.js index f5ab425f5..0111344a2 100644 --- a/test/suite/ch07/7.2/S7.2_A1.2_T2.js +++ b/test/suite/ch07/7.2/S7.2_A1.2_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * VERTICAL TAB (U+000B) between any two tokens is allowed - * - * @path ch07/7.2/S7.2_A1.2_T2.js - * @description Insert real VERTICAL TAB between tokens of var x=1 - */ +/*--- +info: VERTICAL TAB (U+000B) between any two tokens is allowed +description: Insert real VERTICAL TAB between tokens of var x=1 +---*/ //CHECK#1 varx=1; @@ -19,5 +17,3 @@ eval("var\vx=\v1"); if (x !== 1) { $ERROR('#2: var\\vx=\\v1; x === 1. Actual: ' + (x)); } - - diff --git a/test/suite/ch07/7.2/S7.2_A1.3_T1.js b/test/suite/ch07/7.2/S7.2_A1.3_T1.js index eb8c2f85c..01450895f 100644 --- a/test/suite/ch07/7.2/S7.2_A1.3_T1.js +++ b/test/suite/ch07/7.2/S7.2_A1.3_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * FORM FEED (U+000C) between any two tokens is allowed - * - * @path ch07/7.2/S7.2_A1.3_T1.js - * @description Insert FORM FEED(\u000C and \f) between tokens of var x=1 - */ +/*--- +info: FORM FEED (U+000C) between any two tokens is allowed +description: Insert FORM FEED(\u000C and \f) between tokens of var x=1 +---*/ // CHECK#1 eval("\u000Cvar\u000Cx\u000C=\u000C1\u000C"); @@ -37,4 +35,3 @@ eval("\u000C" + "var" + "\f" + "x" + "\u000C" + "=" + "\f" + "1" + "\u000C"); if (x !== 1) { $ERROR('#5: eval("\\u000C" + "var" + "\\f" + "x" + "\\u000C" + "=" + "\\f" + "1" + "\\u000C"); x === 1. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A1.3_T2.js b/test/suite/ch07/7.2/S7.2_A1.3_T2.js index 90fe95742..9c654e53e 100644 --- a/test/suite/ch07/7.2/S7.2_A1.3_T2.js +++ b/test/suite/ch07/7.2/S7.2_A1.3_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * FORM FEED (U+000C) between any two tokens is allowed - * - * @path ch07/7.2/S7.2_A1.3_T2.js - * @description Insert real FORM FEED between tokens of var x=1 - */ +/*--- +info: FORM FEED (U+000C) between any two tokens is allowed +description: Insert real FORM FEED between tokens of var x=1 +---*/ //CHECK#1 varx=1; @@ -19,5 +17,3 @@ eval("var\fx=\f1"); if (x !== 1) { $ERROR('#2: var\\fx=\\f1; x === 1. Actual: ' + (x)); } - - diff --git a/test/suite/ch07/7.2/S7.2_A1.4_T1.js b/test/suite/ch07/7.2/S7.2_A1.4_T1.js index 1f10f9166..2561d918d 100644 --- a/test/suite/ch07/7.2/S7.2_A1.4_T1.js +++ b/test/suite/ch07/7.2/S7.2_A1.4_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * SPACE (U+0020) between any two tokens is allowed - * - * @path ch07/7.2/S7.2_A1.4_T1.js - * @description Insert SPACE(\u0020) between tokens of var x=1 - */ +/*--- +info: SPACE (U+0020) between any two tokens is allowed +description: Insert SPACE(\u0020) between tokens of var x=1 +---*/ // CHECK#1 eval("\u0020var\u0020x\u0020=\u00201\u0020"); @@ -19,4 +17,3 @@ eval("\u0020" + "var" + "\u0020" + "x" + "\u0020" + "=" + "\u0020" + "1" + "\u00 if (x !== 1) { $ERROR('#2: eval("\\u0020" + "var" + "\\u0020" + "x" + "\\u0020" + "=" + "\\u0020" + "1" + "\\u0020"); x === 1. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A1.4_T2.js b/test/suite/ch07/7.2/S7.2_A1.4_T2.js index 67c9c96c1..12d7908d3 100644 --- a/test/suite/ch07/7.2/S7.2_A1.4_T2.js +++ b/test/suite/ch07/7.2/S7.2_A1.4_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * SPACE (U+0020) between any two tokens is allowed - * - * @path ch07/7.2/S7.2_A1.4_T2.js - * @description Insert real SPACE between tokens of var x=1 - */ +/*--- +info: SPACE (U+0020) between any two tokens is allowed +description: Insert real SPACE between tokens of var x=1 +---*/ //CHECK#1 eval("\u0020var x\u0020= 1\u0020"); @@ -19,5 +17,3 @@ if (x !== 1) { if (x !== 1) { $ERROR('#2: var x = 1 ; x === 1. Actual: ' + (x)); } - - diff --git a/test/suite/ch07/7.2/S7.2_A1.5_T1.js b/test/suite/ch07/7.2/S7.2_A1.5_T1.js index 59339116e..0636ebacb 100644 --- a/test/suite/ch07/7.2/S7.2_A1.5_T1.js +++ b/test/suite/ch07/7.2/S7.2_A1.5_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * NO-BREAK SPACE (U+00A0) between any two tokens is allowed - * - * @path ch07/7.2/S7.2_A1.5_T1.js - * @description Insert NO-BREAK SPACE(\u00A0) between tokens of var x=1 - */ +/*--- +info: NO-BREAK SPACE (U+00A0) between any two tokens is allowed +description: Insert NO-BREAK SPACE(\u00A0) between tokens of var x=1 +---*/ // CHECK#1 eval("\u00A0var\u00A0x\u00A0=\u00A01\u00A0"); @@ -19,4 +17,3 @@ eval("\u00A0" + "var" + "\u00A0" + "x" + "\u00A0" + "=" + "\u00A0" + "1" + "\u00 if (x !== 1) { $ERROR('#2: eval("\\u00A0" + "var" + "\\u00A0" + "x" + "\\u00A0" + "=" + "\\u00A0" + "1" + "\\u00A0"); x === 1. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A1.5_T2.js b/test/suite/ch07/7.2/S7.2_A1.5_T2.js index e4635e697..370c85b78 100644 --- a/test/suite/ch07/7.2/S7.2_A1.5_T2.js +++ b/test/suite/ch07/7.2/S7.2_A1.5_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * NO-BREAK SPACE (U+00A0) between any two tokens is allowed - * - * @path ch07/7.2/S7.2_A1.5_T2.js - * @description Insert real NO-BREAK SPACE between tokens of var x=1 - */ +/*--- +info: NO-BREAK SPACE (U+00A0) between any two tokens is allowed +description: Insert real NO-BREAK SPACE between tokens of var x=1 +---*/ //CHECK#1 eval("\u00A0var x\u00A0= 1\u00A0"); @@ -19,5 +17,3 @@ if (x !== 1) { if (x !== 1) { $ERROR('#2: var x = 1 ; x === 1. Actual: ' + (x)); } - - diff --git a/test/suite/ch07/7.2/S7.2_A2.1_T1.js b/test/suite/ch07/7.2/S7.2_A2.1_T1.js index c7fdaaf3e..2df91663a 100644 --- a/test/suite/ch07/7.2/S7.2_A2.1_T1.js +++ b/test/suite/ch07/7.2/S7.2_A2.1_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * HORIZONTAL TAB (U+0009) may occur within strings - * - * @path ch07/7.2/S7.2_A2.1_T1.js - * @description Use HORIZONTAL TAB(\u0009 and \t) - */ +/*--- +info: HORIZONTAL TAB (U+0009) may occur within strings +description: Use HORIZONTAL TAB(\u0009 and \t) +---*/ // CHECK#1 if (eval("'\u0009str\u0009ing\u0009'") !== "\u0009str\u0009ing\u0009") { @@ -17,4 +15,3 @@ if (eval("'\u0009str\u0009ing\u0009'") !== "\u0009str\u0009ing\u0009") { if (eval("'\tstr\ting\t'") !== "\tstr\ting\t") { $ERROR('#2: eval("\'\\tstr\\ting\\t\'") === "\\tstr\\ting\\t"'); } - diff --git a/test/suite/ch07/7.2/S7.2_A2.1_T2.js b/test/suite/ch07/7.2/S7.2_A2.1_T2.js index 7a89875ba..8f6ab6c9e 100644 --- a/test/suite/ch07/7.2/S7.2_A2.1_T2.js +++ b/test/suite/ch07/7.2/S7.2_A2.1_T2.js @@ -1,15 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * HORIZONTAL TAB (U+0009) may occur within strings - * - * @path ch07/7.2/S7.2_A2.1_T2.js - * @description Use real HORIZONTAL TAB - */ +/*--- +info: HORIZONTAL TAB (U+0009) may occur within strings +description: Use real HORIZONTAL TAB +---*/ //CHECK#1 if (" str ing " !== "\u0009str\u0009ing\u0009") { $ERROR('#1: " str ing " === "\\u0009str\\u0009ing\\u0009"'); } - diff --git a/test/suite/ch07/7.2/S7.2_A2.2_T1.js b/test/suite/ch07/7.2/S7.2_A2.2_T1.js index 69c8de8ff..fdb255854 100644 --- a/test/suite/ch07/7.2/S7.2_A2.2_T1.js +++ b/test/suite/ch07/7.2/S7.2_A2.2_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * VERTICAL TAB (U+000B) may occur within strings - * - * @path ch07/7.2/S7.2_A2.2_T1.js - * @description Use VERTICAL TAB(\u000B and \v) - */ +/*--- +info: VERTICAL TAB (U+000B) may occur within strings +description: Use VERTICAL TAB(\u000B and \v) +---*/ // CHECK#1 if (eval("'\u000Bstr\u000Bing\u000B'") !== "\u000Bstr\u000Bing\u000B") { @@ -17,4 +15,3 @@ if (eval("'\u000Bstr\u000Bing\u000B'") !== "\u000Bstr\u000Bing\u000B") { if (eval("'\vstr\ving\v'") !== "\vstr\ving\v") { $ERROR('#2: eval("\'\\vstr\\ving\\v\'") === "\\vstr\\ving\\v"'); } - diff --git a/test/suite/ch07/7.2/S7.2_A2.2_T2.js b/test/suite/ch07/7.2/S7.2_A2.2_T2.js index f7b415972..745eb4d3f 100644 --- a/test/suite/ch07/7.2/S7.2_A2.2_T2.js +++ b/test/suite/ch07/7.2/S7.2_A2.2_T2.js @@ -1,15 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * VERTICAL TAB (U+000B) may occur within strings - * - * @path ch07/7.2/S7.2_A2.2_T2.js - * @description Use real VERTICAL TAB - */ +/*--- +info: VERTICAL TAB (U+000B) may occur within strings +description: Use real VERTICAL TAB +---*/ //CHECK#1 if ("string" !== "\u000Bstr\u000Bing\u000B") { $ERROR('#1: "string" === "\\u000Bstr\\u000Bing\\u000B"'); } - diff --git a/test/suite/ch07/7.2/S7.2_A2.3_T1.js b/test/suite/ch07/7.2/S7.2_A2.3_T1.js index 9b30396fc..47dd6dc2b 100644 --- a/test/suite/ch07/7.2/S7.2_A2.3_T1.js +++ b/test/suite/ch07/7.2/S7.2_A2.3_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * FORM FEED (U+000C) may occur within strings - * - * @path ch07/7.2/S7.2_A2.3_T1.js - * @description Use FORM FEED(\u000C and \f) - */ +/*--- +info: FORM FEED (U+000C) may occur within strings +description: Use FORM FEED(\u000C and \f) +---*/ // CHECK#1 if (eval("'\u000Cstr\u000Cing\u000C'") !== "\u000Cstr\u000Cing\u000C") { @@ -17,4 +15,3 @@ if (eval("'\u000Cstr\u000Cing\u000C'") !== "\u000Cstr\u000Cing\u000C") { if (eval("'\fstr\fing\f'") !== "\fstr\fing\f") { $ERROR('#2: eval("\'\\fstr\\fing\\f\'") === "\\fstr\\fing\\f"'); } - diff --git a/test/suite/ch07/7.2/S7.2_A2.3_T2.js b/test/suite/ch07/7.2/S7.2_A2.3_T2.js index a575f8a0d..b99d85568 100644 --- a/test/suite/ch07/7.2/S7.2_A2.3_T2.js +++ b/test/suite/ch07/7.2/S7.2_A2.3_T2.js @@ -1,15 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * FORM FEED (U+000C) may occur within strings - * - * @path ch07/7.2/S7.2_A2.3_T2.js - * @description Use real FORM FEED - */ +/*--- +info: FORM FEED (U+000C) may occur within strings +description: Use real FORM FEED +---*/ //CHECK#1 if ("string" !== "\u000Cstr\u000Cing\u000C") { $ERROR('#1: "string" === "\\u000Cstr\\u000Cing\\u000C"'); } - diff --git a/test/suite/ch07/7.2/S7.2_A2.4_T1.js b/test/suite/ch07/7.2/S7.2_A2.4_T1.js index 4b41932c7..ad18d6ced 100644 --- a/test/suite/ch07/7.2/S7.2_A2.4_T1.js +++ b/test/suite/ch07/7.2/S7.2_A2.4_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * SPACE (U+0020) may occur within strings - * - * @path ch07/7.2/S7.2_A2.4_T1.js - * @description Use SPACE(\u0020) - */ +/*--- +info: SPACE (U+0020) may occur within strings +description: Use SPACE(\u0020) +---*/ // CHECK#1 if (eval("'\u0020str\u0020ing\u0020'") !== "\u0020str\u0020ing\u0020") { @@ -17,4 +15,3 @@ if (eval("'\u0020str\u0020ing\u0020'") !== "\u0020str\u0020ing\u0020") { if (eval("' str ing '") !== " str ing ") { $ERROR('#2: eval("\' str ing \'") === " str ing "'); } - diff --git a/test/suite/ch07/7.2/S7.2_A2.4_T2.js b/test/suite/ch07/7.2/S7.2_A2.4_T2.js index b61d2313d..d065012e5 100644 --- a/test/suite/ch07/7.2/S7.2_A2.4_T2.js +++ b/test/suite/ch07/7.2/S7.2_A2.4_T2.js @@ -1,15 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * SPACE (U+0020) may occur within strings - * - * @path ch07/7.2/S7.2_A2.4_T2.js - * @description Use real SPACE - */ +/*--- +info: SPACE (U+0020) may occur within strings +description: Use real SPACE +---*/ //CHECK#1 if (" str ing " !== "\u0020str\u0020ing\u0020") { $ERROR('#1: " str ing " === "\\u0020str\\u0020ing\\u0020"'); } - diff --git a/test/suite/ch07/7.2/S7.2_A2.5_T1.js b/test/suite/ch07/7.2/S7.2_A2.5_T1.js index 60fb7f358..ec401bb5f 100644 --- a/test/suite/ch07/7.2/S7.2_A2.5_T1.js +++ b/test/suite/ch07/7.2/S7.2_A2.5_T1.js @@ -1,15 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * NO-BREAK SPACE (U+00A0) may occur within strings - * - * @path ch07/7.2/S7.2_A2.5_T1.js - * @description Use NO-BREAK SPACE(\u00A0) - */ +/*--- +info: NO-BREAK SPACE (U+00A0) may occur within strings +description: Use NO-BREAK SPACE(\u00A0) +---*/ // CHECK#1 if (eval("'\u00A0str\u00A0ing\u00A0'") !== "\u00A0str\u00A0ing\u00A0") { $ERROR('#1: eval("\'\\u00A0str\\u00A0ing\\u00A0\'") === "\\u00A0str\\u00A0ing\\u00A0"'); } - diff --git a/test/suite/ch07/7.2/S7.2_A2.5_T2.js b/test/suite/ch07/7.2/S7.2_A2.5_T2.js index 0cf26e596..72b6ecfda 100644 --- a/test/suite/ch07/7.2/S7.2_A2.5_T2.js +++ b/test/suite/ch07/7.2/S7.2_A2.5_T2.js @@ -1,15 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * NO-BREAK SPACE (U+00A0) may occur within strings - * - * @path ch07/7.2/S7.2_A2.5_T2.js - * @description Use real NO-BREAK SPACE - */ +/*--- +info: NO-BREAK SPACE (U+00A0) may occur within strings +description: Use real NO-BREAK SPACE +---*/ //CHECK#1 if (" str ing " !== "\u00A0str\u00A0ing\u00A0") { $ERROR('#1: " str ing " === "\\u00A0str\\u00A0ing\\u00A0"'); } - diff --git a/test/suite/ch07/7.2/S7.2_A3.1_T1.js b/test/suite/ch07/7.2/S7.2_A3.1_T1.js index c8eae5be2..d25509d52 100644 --- a/test/suite/ch07/7.2/S7.2_A3.1_T1.js +++ b/test/suite/ch07/7.2/S7.2_A3.1_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Single line comment can contain HORIZONTAL TAB (U+0009) - * - * @path ch07/7.2/S7.2_A3.1_T1.js - * @description Use HORIZONTAL TAB(\u0009) - */ +/*--- +info: Single line comment can contain HORIZONTAL TAB (U+0009) +description: Use HORIZONTAL TAB(\u0009) +---*/ // CHECK#1 eval("//\u0009 single line \u0009 comment \u0009"); @@ -17,4 +15,3 @@ eval("//\u0009 single line \u0009 comment \u0009 x = 1;"); if (x !== 0) { $ERROR('#1: var x = 0; eval("//\\u0009 single line \\u0009 comment \\u0009 x = 1;"); x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A3.1_T2.js b/test/suite/ch07/7.2/S7.2_A3.1_T2.js index b5b479240..98fe6974f 100644 --- a/test/suite/ch07/7.2/S7.2_A3.1_T2.js +++ b/test/suite/ch07/7.2/S7.2_A3.1_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Single line comment can contain HORIZONTAL TAB (U+0009) - * - * @path ch07/7.2/S7.2_A3.1_T2.js - * @description Use real HORIZONTAL TAB - */ +/*--- +info: Single line comment can contain HORIZONTAL TAB (U+0009) +description: Use real HORIZONTAL TAB +---*/ //CHECK#1 var x = 0; @@ -14,4 +12,3 @@ var x = 0; if (x !== 0) { $ERROR('#1: var x = 0; // single line comment x = 1; x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A3.2_T1.js b/test/suite/ch07/7.2/S7.2_A3.2_T1.js index 435a2493f..6d70d1466 100644 --- a/test/suite/ch07/7.2/S7.2_A3.2_T1.js +++ b/test/suite/ch07/7.2/S7.2_A3.2_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Single line comment can contain VERTICAL TAB (U+000B) - * - * @path ch07/7.2/S7.2_A3.2_T1.js - * @description Use VERTICAL TAB(\u000B) - */ +/*--- +info: Single line comment can contain VERTICAL TAB (U+000B) +description: Use VERTICAL TAB(\u000B) +---*/ // CHECK#1 eval("//\u000B single line \u000B comment \u000B"); @@ -17,4 +15,3 @@ eval("//\u000B single line \u000B comment \u000B x = 1;"); if (x !== 0) { $ERROR('#1: var x = 0; eval("//\\u000B single line \\u000B comment \\u000B x = 1;"); x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A3.2_T2.js b/test/suite/ch07/7.2/S7.2_A3.2_T2.js index cfdd6bc0a..8d2f88087 100644 --- a/test/suite/ch07/7.2/S7.2_A3.2_T2.js +++ b/test/suite/ch07/7.2/S7.2_A3.2_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Single line comment can contain VERTICAL TAB (U+000B) - * - * @path ch07/7.2/S7.2_A3.2_T2.js - * @description Use real VERTICAL TAB - */ +/*--- +info: Single line comment can contain VERTICAL TAB (U+000B) +description: Use real VERTICAL TAB +---*/ //CHECK#1 var x = 0; @@ -14,4 +12,3 @@ var x = 0; if (x !== 0) { $ERROR('#1: var x = 0; //singlelinecommentx = 1; x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A3.3_T1.js b/test/suite/ch07/7.2/S7.2_A3.3_T1.js index 260d07073..7e5c2673e 100644 --- a/test/suite/ch07/7.2/S7.2_A3.3_T1.js +++ b/test/suite/ch07/7.2/S7.2_A3.3_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Single line comment can contain FORM FEED (U+000C) - * - * @path ch07/7.2/S7.2_A3.3_T1.js - * @description Use FORM FEED(\u000C) - */ +/*--- +info: Single line comment can contain FORM FEED (U+000C) +description: Use FORM FEED(\u000C) +---*/ // CHECK#1 eval("//\u000C single line \u000C comment \u000C"); @@ -17,4 +15,3 @@ eval("//\u000C single line \u000C comment \u000C x = 1;"); if (x !== 0) { $ERROR('#1: var x = 0; eval("//\\u000C single line \\u000C comment \\u000C x = 1;"); x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A3.3_T2.js b/test/suite/ch07/7.2/S7.2_A3.3_T2.js index f1ce32510..b58efa9af 100644 --- a/test/suite/ch07/7.2/S7.2_A3.3_T2.js +++ b/test/suite/ch07/7.2/S7.2_A3.3_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Single line comment can contain FORM FEED (U+000C) - * - * @path ch07/7.2/S7.2_A3.3_T2.js - * @description Use real FORM FEED - */ +/*--- +info: Single line comment can contain FORM FEED (U+000C) +description: Use real FORM FEED +---*/ //CHECK#1 var x = 0; @@ -14,4 +12,3 @@ var x = 0; if (x !== 0) { $ERROR('#1: var x = 0; //singlelinecommentx = 1; x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A3.4_T1.js b/test/suite/ch07/7.2/S7.2_A3.4_T1.js index 41264606b..3e440256b 100644 --- a/test/suite/ch07/7.2/S7.2_A3.4_T1.js +++ b/test/suite/ch07/7.2/S7.2_A3.4_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Single line comment can contain SPACE (U+0020) - * - * @path ch07/7.2/S7.2_A3.4_T1.js - * @description Use SPACE(\u0020) - */ +/*--- +info: Single line comment can contain SPACE (U+0020) +description: Use SPACE(\u0020) +---*/ // CHECK#1 eval("//\u0020 single line \u0020 comment \u0020"); @@ -17,4 +15,3 @@ eval("//\u0020 single line \u0020 comment \u0020 x = 1;"); if (x !== 0) { $ERROR('#1: var x = 0; eval("//\\u0020 single line \\u0020 comment \\u0020 x = 1;"); x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A3.4_T2.js b/test/suite/ch07/7.2/S7.2_A3.4_T2.js index bfc4650fe..3a14b7e4d 100644 --- a/test/suite/ch07/7.2/S7.2_A3.4_T2.js +++ b/test/suite/ch07/7.2/S7.2_A3.4_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Single line comment can contain SPACE (U+0020) - * - * @path ch07/7.2/S7.2_A3.4_T2.js - * @description Use real SPACE - */ +/*--- +info: Single line comment can contain SPACE (U+0020) +description: Use real SPACE +---*/ //CHECK#1 var x = 0; @@ -14,4 +12,3 @@ var x = 0; if (x !== 0) { $ERROR('#1: var x = 0; // single line comment x = 1; x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A3.5_T1.js b/test/suite/ch07/7.2/S7.2_A3.5_T1.js index 6d12abddf..265ee9c18 100644 --- a/test/suite/ch07/7.2/S7.2_A3.5_T1.js +++ b/test/suite/ch07/7.2/S7.2_A3.5_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Single line comment can contain NO-BREAK SPACE (U+00A0) - * - * @path ch07/7.2/S7.2_A3.5_T1.js - * @description Use NO-BREAK SPACE(\u00A0) - */ +/*--- +info: Single line comment can contain NO-BREAK SPACE (U+00A0) +description: Use NO-BREAK SPACE(\u00A0) +---*/ // CHECK#1 eval("//\u00A0 single line \u00A0 comment \u00A0"); @@ -17,4 +15,3 @@ eval("//\u00A0 single line \u00A0 comment \u00A0 x = 1;"); if (x !== 0) { $ERROR('#1: var x = 0; eval("//\\u00A0 single line \\u00A0 comment \\u00A0 x = 1;"); x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A3.5_T2.js b/test/suite/ch07/7.2/S7.2_A3.5_T2.js index 2085a3b38..defe7086b 100644 --- a/test/suite/ch07/7.2/S7.2_A3.5_T2.js +++ b/test/suite/ch07/7.2/S7.2_A3.5_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Single line comment can contain NO-BREAK SPACE (U+00A0) - * - * @path ch07/7.2/S7.2_A3.5_T2.js - * @description Use real NO-BREAK SPACE - */ +/*--- +info: Single line comment can contain NO-BREAK SPACE (U+00A0) +description: Use real NO-BREAK SPACE +---*/ //CHECK#1 var x = 0; @@ -14,4 +12,3 @@ var x = 0; if (x !== 0) { $ERROR('#1: var x = 0; // single line comment x = 1; x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A4.1_T1.js b/test/suite/ch07/7.2/S7.2_A4.1_T1.js index 6881a144f..b249b35da 100644 --- a/test/suite/ch07/7.2/S7.2_A4.1_T1.js +++ b/test/suite/ch07/7.2/S7.2_A4.1_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Multi line comment can contain HORIZONTAL TAB (U+0009) - * - * @path ch07/7.2/S7.2_A4.1_T1.js - * @description Use HORIZONTAL TAB(\u0009) - */ +/*--- +info: Multi line comment can contain HORIZONTAL TAB (U+0009) +description: Use HORIZONTAL TAB(\u0009) +---*/ // CHECK#1 eval("/*\u0009 multi line \u0009 comment \u0009*/"); @@ -17,4 +15,3 @@ eval("/*\u0009 multi line \u0009 comment \u0009 x = 1;*/"); if (x !== 0) { $ERROR('#1: var x = 0; eval("/*\\u0009 multi line \\u0009 comment \\u0009 x = 1;*/"); x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A4.1_T2.js b/test/suite/ch07/7.2/S7.2_A4.1_T2.js index a7d7cb758..7596746d5 100644 --- a/test/suite/ch07/7.2/S7.2_A4.1_T2.js +++ b/test/suite/ch07/7.2/S7.2_A4.1_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Multi line comment can contain HORIZONTAL TAB (U+0009) - * - * @path ch07/7.2/S7.2_A4.1_T2.js - * @description Use real HORIZONTAL TAB - */ +/*--- +info: Multi line comment can contain HORIZONTAL TAB (U+0009) +description: Use real HORIZONTAL TAB +---*/ /*CHECK#1*/ var x = 0; @@ -14,4 +12,3 @@ var x = 0; if (x !== 0) { $ERROR('#1: var x = 0; /* multi line comment x = 1;*/ x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A4.2_T1.js b/test/suite/ch07/7.2/S7.2_A4.2_T1.js index a3361d47c..ea8c717ce 100644 --- a/test/suite/ch07/7.2/S7.2_A4.2_T1.js +++ b/test/suite/ch07/7.2/S7.2_A4.2_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Multi line comment can contain VERTICAL TAB (U+000B) - * - * @path ch07/7.2/S7.2_A4.2_T1.js - * @description Use VERTICAL TAB(\u000B) - */ +/*--- +info: Multi line comment can contain VERTICAL TAB (U+000B) +description: Use VERTICAL TAB(\u000B) +---*/ // CHECK#1 eval("/*\u000B multi line \u000B comment \u000B*/"); @@ -17,4 +15,3 @@ eval("/*\u000B multi line \u000B comment \u000B x = 1;*/"); if (x !== 0) { $ERROR('#1: var x = 0; eval("/*\\u000B multi line \\u000B comment \\u000B x = 1;*/"); x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A4.2_T2.js b/test/suite/ch07/7.2/S7.2_A4.2_T2.js index 87ef32235..ec1abb729 100644 --- a/test/suite/ch07/7.2/S7.2_A4.2_T2.js +++ b/test/suite/ch07/7.2/S7.2_A4.2_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Multi line comment can contain VERTICAL TAB (U+000B) - * - * @path ch07/7.2/S7.2_A4.2_T2.js - * @description Use real VERTICAL TAB - */ +/*--- +info: Multi line comment can contain VERTICAL TAB (U+000B) +description: Use real VERTICAL TAB +---*/ /*CHECK#1*/ var x = 0; @@ -14,4 +12,3 @@ var x = 0; if (x !== 0) { $ERROR('#1: var x = 0; /*multilinecommentx = 1;*/ x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A4.3_T1.js b/test/suite/ch07/7.2/S7.2_A4.3_T1.js index 689d28790..aab0f4aa8 100644 --- a/test/suite/ch07/7.2/S7.2_A4.3_T1.js +++ b/test/suite/ch07/7.2/S7.2_A4.3_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Multi line comment can contain FORM FEED (U+000C) - * - * @path ch07/7.2/S7.2_A4.3_T1.js - * @description Use FORM FEED(\u000C) - */ +/*--- +info: Multi line comment can contain FORM FEED (U+000C) +description: Use FORM FEED(\u000C) +---*/ // CHECK#1 eval("/*\u000C multi line \u000C comment \u000C*/"); @@ -17,4 +15,3 @@ eval("/*\u000C multi line \u000C comment \u000C x = 1;*/"); if (x !== 0) { $ERROR('#1: var x = 0; eval("/*\\u000C multi line \\u000C comment \\u000C x = 1;*/"); x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A4.3_T2.js b/test/suite/ch07/7.2/S7.2_A4.3_T2.js index f6f404372..4cfbe7653 100644 --- a/test/suite/ch07/7.2/S7.2_A4.3_T2.js +++ b/test/suite/ch07/7.2/S7.2_A4.3_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Multi line comment can contain FORM FEED (U+000C) - * - * @path ch07/7.2/S7.2_A4.3_T2.js - * @description Use real FORM FEED - */ +/*--- +info: Multi line comment can contain FORM FEED (U+000C) +description: Use real FORM FEED +---*/ /*CHECK#1*/ var x = 0; @@ -14,4 +12,3 @@ var x = 0; if (x !== 0) { $ERROR('#1: var x = 0; /*multilinecommentx = 1;*/ x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A4.4_T1.js b/test/suite/ch07/7.2/S7.2_A4.4_T1.js index 9f5908e17..92956874e 100644 --- a/test/suite/ch07/7.2/S7.2_A4.4_T1.js +++ b/test/suite/ch07/7.2/S7.2_A4.4_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Multi line comment can contain SPACE (U+0020) - * - * @path ch07/7.2/S7.2_A4.4_T1.js - * @description Use SPACE(\u0020) - */ +/*--- +info: Multi line comment can contain SPACE (U+0020) +description: Use SPACE(\u0020) +---*/ // CHECK#1 eval("/*\u0020 multi line \u0020 comment \u0020*/"); @@ -17,4 +15,3 @@ eval("/*\u0020 multi line \u0020 comment \u0020 x = 1;*/"); if (x !== 0) { $ERROR('#1: var x = 0; eval("/*\\u0020 multi line \\u0020 comment \\u0020 x = 1;*/"); x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A4.4_T2.js b/test/suite/ch07/7.2/S7.2_A4.4_T2.js index ce446861e..854ec66ca 100644 --- a/test/suite/ch07/7.2/S7.2_A4.4_T2.js +++ b/test/suite/ch07/7.2/S7.2_A4.4_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Multi line comment can contain SPACE (U+0020) - * - * @path ch07/7.2/S7.2_A4.4_T2.js - * @description Use real SPACE - */ +/*--- +info: Multi line comment can contain SPACE (U+0020) +description: Use real SPACE +---*/ /*CHECK#1*/ var x = 0; @@ -14,4 +12,3 @@ var x = 0; if (x !== 0) { $ERROR('#1: var x = 0; /* multi line comment x = 1;*/ x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A4.5_T1.js b/test/suite/ch07/7.2/S7.2_A4.5_T1.js index cef5216e3..d3954abc9 100644 --- a/test/suite/ch07/7.2/S7.2_A4.5_T1.js +++ b/test/suite/ch07/7.2/S7.2_A4.5_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Multi line comment can contain NO-BREAK SPACE (U+00A0) - * - * @path ch07/7.2/S7.2_A4.5_T1.js - * @description Use NO-BREAK SPACE(\u00A0) - */ +/*--- +info: Multi line comment can contain NO-BREAK SPACE (U+00A0) +description: Use NO-BREAK SPACE(\u00A0) +---*/ // CHECK#1 eval("/*\u00A0 multi line \u00A0 comment \u00A0*/"); @@ -17,4 +15,3 @@ eval("/*\u00A0 multi line \u00A0 comment \u00A0 x = 1;*/"); if (x !== 0) { $ERROR('#1: var x = 0; eval("/*\\u00A0 multi line \\u00A0 comment \\u00A0 x = 1;*/"); x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A4.5_T2.js b/test/suite/ch07/7.2/S7.2_A4.5_T2.js index c4457c432..0859a4a8d 100644 --- a/test/suite/ch07/7.2/S7.2_A4.5_T2.js +++ b/test/suite/ch07/7.2/S7.2_A4.5_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Multi line comment can contain NO-BREAK SPACE (U+00A0) - * - * @path ch07/7.2/S7.2_A4.5_T2.js - * @description Use real NO-BREAK SPACE - */ +/*--- +info: Multi line comment can contain NO-BREAK SPACE (U+00A0) +description: Use real NO-BREAK SPACE +---*/ /*CHECK#1*/ var x = 0; @@ -14,4 +12,3 @@ var x = 0; if (x !== 0) { $ERROR('#1: var x = 0; /* multi line comment x = 1;*/ x === 0. Actual: ' + (x)); } - diff --git a/test/suite/ch07/7.2/S7.2_A5_T1.js b/test/suite/ch07/7.2/S7.2_A5_T1.js index 6fb19c55d..87c09b0a2 100644 --- a/test/suite/ch07/7.2/S7.2_A5_T1.js +++ b/test/suite/ch07/7.2/S7.2_A5_T1.js @@ -1,13 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * White space cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits - * - * @path ch07/7.2/S7.2_A5_T1.js - * @description Use TAB (U+0009) - * @negative - */ +/*--- +info: > + White space cannot be expressed as a Unicode escape sequence consisting + of six characters, namely \u plus four hexadecimal digits +description: Use TAB (U+0009) +flags: [negative] +---*/ var\u0009x; - diff --git a/test/suite/ch07/7.2/S7.2_A5_T2.js b/test/suite/ch07/7.2/S7.2_A5_T2.js index 1036b4ffa..dff3d74c0 100644 --- a/test/suite/ch07/7.2/S7.2_A5_T2.js +++ b/test/suite/ch07/7.2/S7.2_A5_T2.js @@ -1,13 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * White space cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits - * - * @path ch07/7.2/S7.2_A5_T2.js - * @description Use VERTICAL TAB (U+000B) - * @negative - */ +/*--- +info: > + White space cannot be expressed as a Unicode escape sequence consisting + of six characters, namely \u plus four hexadecimal digits +description: Use VERTICAL TAB (U+000B) +flags: [negative] +---*/ var\u000Bx; - diff --git a/test/suite/ch07/7.2/S7.2_A5_T3.js b/test/suite/ch07/7.2/S7.2_A5_T3.js index 4eb8212cd..821c29d22 100644 --- a/test/suite/ch07/7.2/S7.2_A5_T3.js +++ b/test/suite/ch07/7.2/S7.2_A5_T3.js @@ -1,13 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * White space cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits - * - * @path ch07/7.2/S7.2_A5_T3.js - * @description Use FORM FEED (U+000C) - * @negative - */ +/*--- +info: > + White space cannot be expressed as a Unicode escape sequence consisting + of six characters, namely \u plus four hexadecimal digits +description: Use FORM FEED (U+000C) +flags: [negative] +---*/ var\u000Cx; - diff --git a/test/suite/ch07/7.2/S7.2_A5_T4.js b/test/suite/ch07/7.2/S7.2_A5_T4.js index 9a47a618d..aa0e75088 100644 --- a/test/suite/ch07/7.2/S7.2_A5_T4.js +++ b/test/suite/ch07/7.2/S7.2_A5_T4.js @@ -1,13 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * White space cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits - * - * @path ch07/7.2/S7.2_A5_T4.js - * @description Use SPACE (U+0020) - * @negative - */ +/*--- +info: > + White space cannot be expressed as a Unicode escape sequence consisting + of six characters, namely \u plus four hexadecimal digits +description: Use SPACE (U+0020) +flags: [negative] +---*/ var\u0020x; - diff --git a/test/suite/ch07/7.2/S7.2_A5_T5.js b/test/suite/ch07/7.2/S7.2_A5_T5.js index 5076c3b24..903afab2c 100644 --- a/test/suite/ch07/7.2/S7.2_A5_T5.js +++ b/test/suite/ch07/7.2/S7.2_A5_T5.js @@ -1,13 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * White space cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits - * - * @path ch07/7.2/S7.2_A5_T5.js - * @description Use NO-BREAK SPACE (U+00A0) - * @negative - */ +/*--- +info: > + White space cannot be expressed as a Unicode escape sequence consisting + of six characters, namely \u plus four hexadecimal digits +description: Use NO-BREAK SPACE (U+00A0) +flags: [negative] +---*/ var\u00A0x; - |