wasp/waspc/test/Analyzer/ParserTest/parseStatementsTests/declsDictsAndLiterals.wasp
Martin Šošić 75ce7db663
Fix incorrect parsing of escaped strings in Wasp (#699)
* Fixed incorrect handling of escaped strings in parser.

* Refactored Parser golden tests a bit.

* Moved PrettyPrinter for Parser AST to Parser.

* fix
2022-08-23 14:01:00 +02:00

12 lines
202 B
JavaScript

test Decl {
string: "Hello Wasp =}",
escapedString: "Look, a \"",
integer: 42,
real: 3.14,
yes: true,
no: false,
ident: Wasp,
// This is a comment
innerDict: { innerDictReal: 2.17 }
}