diff --git a/test/language/types/string/S8.4_A7.1.js b/test/language/types/string/S8.4_A7.1.js index d5aa37401a..bf0e2b8f5a 100644 --- a/test/language/types/string/S8.4_A7.1.js +++ b/test/language/types/string/S8.4_A7.1.js @@ -2,9 +2,11 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -info: between chunks of one string not allowed -es5id: 8.4_A7.1 -description: Insert between chunks of one string +esid: sec-line-terminators +description: > + Line terminator may appear as an escape sequence within a StringLiteral +info: | + A line terminator cannot occur within any token except a StringLiteral, Template, or TemplateSubstitutionTail. ---*/ assert.throws(ReferenceError, function() { diff --git a/test/language/types/string/S8.4_A7.2.js b/test/language/types/string/S8.4_A7.2.js index 037b3ab876..131594308f 100644 --- a/test/language/types/string/S8.4_A7.2.js +++ b/test/language/types/string/S8.4_A7.2.js @@ -2,11 +2,15 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -info: between chunks of one string not allowed -es5id: 8.4_A7.2 -description: Insert between chunks of one string +esid: sec-line-terminators +description: > + Line terminator may appear as an escape sequence within a StringLiteral +info: | + A line terminator cannot occur within any token except a StringLiteral, Template, or TemplateSubstitutionTail. ---*/ assert.throws(ReferenceError, function() { eval("var x = asdf\u000Dghjk"); }); + + diff --git a/test/language/types/string/S8.4_A7.3.js b/test/language/types/string/S8.4_A7.3.js index 99c5522aa4..36b62084b7 100644 --- a/test/language/types/string/S8.4_A7.3.js +++ b/test/language/types/string/S8.4_A7.3.js @@ -2,9 +2,11 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -info: between chunks of one string not allowed -es5id: 8.4_A7.3 -description: Insert between chunks of one string +esid: sec-line-terminators +description: > + Line terminator may appear as an escape sequence within a StringLiteral +info: | + A line terminator cannot occur within any token except a StringLiteral, Template, or TemplateSubstitutionTail. ---*/ assert.throws(ReferenceError, function() { diff --git a/test/language/types/string/S8.4_A7.4.js b/test/language/types/string/S8.4_A7.4.js index 4dd3ac63a9..2985e7b46b 100644 --- a/test/language/types/string/S8.4_A7.4.js +++ b/test/language/types/string/S8.4_A7.4.js @@ -2,9 +2,12 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -info: between chunks of one string not allowed -es5id: 8.4_A7.4 -description: Insert between chunks of one string +esid: sec-line-terminators +description: > + Line terminator may appear as an escape sequence within a StringLiteral +info: | + A line terminator cannot occur within any token except a StringLiteral, Template, or TemplateSubstitutionTail. + ---*/ assert.throws(ReferenceError, function() {