test262/tools/generation/test/fixtures/indent-string-template.case
Mike Pennisi da4e798e5b [generation] Prevent invalid transformation
In order to promote readability of the generated test material, the test
generation tool may insert whitespace if the context a given expanded
variable calls for it. Avoid inserting such whitespace within literal
values that span multiple lines.
2017-03-04 12:17:35 -05:00

13 lines
367 B
Plaintext

// Copyright (C) 2017 Mike Pennisi. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
template: indentation
desc: String template spanning multiple lines
---*/
//- value
`this string template is declared across multiple lines
which disqualifies it as a candidate for indentation
it also happens to contain ' and ".`;