test262/tools/generation/test/expected/indentation/spaces-indent-string-continuation.js
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

20 lines
599 B
JavaScript

// This file was procedurally generated from the following sources:
// - tools/generation/test/fixtures/indent-string-continuation.case
// - tools/generation/test/fixtures/indentation/spaces.template
/*---
description: Multiline string via a line continuation character (Preserving "soft" indentation across newlines)
flags: [generated]
---*/
(function() {
'this string is declared across multiple lines\
\
which disqualifies it as a candidate for indentation';
if (true) {
'this string is declared across multiple lines\
\
which disqualifies it as a candidate for indentation';
}
}());