mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
[generation] Preserve newlines in info
tag
This commit is contained in:
parent
3777273b5d
commit
eb1c382aa5
@ -149,7 +149,7 @@ class Template:
|
||||
info.append(indent(case_values['meta']['info']))
|
||||
|
||||
if len(info):
|
||||
lines.append('info: >')
|
||||
lines.append('info: |')
|
||||
lines += info
|
||||
|
||||
lines.append('---*/')
|
||||
|
@ -7,7 +7,7 @@ es6id: 1.2.3
|
||||
features: [f1]
|
||||
flags: [generated, a, b]
|
||||
includes: [foo.js]
|
||||
info: >
|
||||
info: |
|
||||
case info
|
||||
---*/
|
||||
|
||||
|
@ -6,7 +6,7 @@ description: foobar (First template name)
|
||||
es6id: 1.2.3
|
||||
flags: [generated, a, b]
|
||||
includes: [foo.js]
|
||||
info: >
|
||||
info: |
|
||||
This is an "info" field with an
|
||||
|
||||
empty line
|
||||
|
@ -6,7 +6,7 @@ description: foobar (Second template name)
|
||||
esid: sec-a-generic-id
|
||||
flags: [generated, a, b]
|
||||
includes: [foo.js, bar.js]
|
||||
info: >
|
||||
info: |
|
||||
template info
|
||||
|
||||
case info
|
||||
|
@ -6,7 +6,7 @@ description: foobar (First template name)
|
||||
es6id: 1.2.3
|
||||
flags: [generated, a, b]
|
||||
includes: [foo.js]
|
||||
info: >
|
||||
info: |
|
||||
case info
|
||||
---*/
|
||||
|
||||
|
@ -6,7 +6,7 @@ description: foobar (First template name)
|
||||
es6id: 1.2.3
|
||||
flags: [generated, a, b, c, d]
|
||||
includes: [foo.js]
|
||||
info: >
|
||||
info: |
|
||||
template info
|
||||
|
||||
case info
|
||||
|
Loading…
x
Reference in New Issue
Block a user