mirror of
https://github.com/tc39/test262.git
synced 2025-06-02 21:20:31 +02:00
Line Terminator test description corrections
This commit is contained in:
parent
0593463817
commit
e04de94c07
@ -2,9 +2,11 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: <LF> between chunks of one string not allowed
|
esid: sec-line-terminators
|
||||||
es5id: 8.4_A7.1
|
description: >
|
||||||
description: Insert <LF> between chunks of one string
|
Line terminator <LF> 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() {
|
assert.throws(ReferenceError, function() {
|
||||||
|
@ -2,11 +2,15 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: <CR> between chunks of one string not allowed
|
esid: sec-line-terminators
|
||||||
es5id: 8.4_A7.2
|
description: >
|
||||||
description: Insert <CR> between chunks of one string
|
Line terminator <CR> 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() {
|
assert.throws(ReferenceError, function() {
|
||||||
eval("var x = asdf\u000Dghjk");
|
eval("var x = asdf\u000Dghjk");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,9 +2,11 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: <PS> between chunks of one string not allowed
|
esid: sec-line-terminators
|
||||||
es5id: 8.4_A7.3
|
description: >
|
||||||
description: Insert <PS> between chunks of one string
|
Line terminator <PS> 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() {
|
assert.throws(ReferenceError, function() {
|
||||||
|
@ -2,9 +2,12 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: <LS> between chunks of one string not allowed
|
esid: sec-line-terminators
|
||||||
es5id: 8.4_A7.4
|
description: >
|
||||||
description: Insert <LS> between chunks of one string
|
Line terminator <LS> 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() {
|
assert.throws(ReferenceError, function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user