Marcin Gasperowicz
e5ddcadd3c
LibJS: Parse line continuations in string literals properly
...
Newlines after line continuation were inserted into the string
literals. This patch makes the parser ignore the newlines after \ and
also makes it so that "use strict" containing a line continuation is
not a valid "use strict".
2020-10-25 15:16:47 +01:00
Matthew Olsson
1ef573eb30
LibJS: Indent tests with 4 spaces instead of 2
2020-07-06 23:40:35 +02:00
Matthew Olsson
6d58c48c2f
test-js: Use prettier and format all files
2020-07-06 23:40:35 +02:00
Matthew Olsson
3f97d75778
LibJS: Convert most builtin tests to new system
2020-07-06 23:40:35 +02:00
Matthew Olsson
fc08222f46
LibJS: Add more test matchers
2020-07-06 23:40:35 +02:00
Matthew Olsson
b86faeaeef
LibJS: Add test-common.js tests, remove unused matchers
...
Now that test-common.js is quite a bit more complicated, we need tests
for test-common to make sure all of the matchers behave correctly
2020-07-06 23:40:35 +02:00