test262/tools/generation/test/fixtures/indent-string-continuation.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

12 lines
335 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: Multiline string via a line continuation character
---*/
//- value
'this string is declared across multiple lines\
\
which disqualifies it as a candidate for indentation';