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
692 B
JavaScript

// This file was procedurally generated from the following sources:
// - tools/generation/test/fixtures/indent-code.case
// - tools/generation/test/fixtures/indentation/spaces.template
/*---
description: Multiple lines of code (Preserving "soft" indentation across newlines)
flags: [generated]
---*/
(function() {
'These literals are each contained on a single line...';
"...which means they may be indented...";
`...without effecting the semantics of the generated source code.`;
if (true) {
'These literals are each contained on a single line...';
"...which means they may be indented...";
`...without effecting the semantics of the generated source code.`;
}
}());