Mike Pennisi
81d00def42
Force "early error" tests to fail if evaluated
...
This pattern makes expectations more explicit by making test files more
literal.
2017-06-28 11:24:36 -04:00
Mike Pennisi
7d4b1d28ae
Re-format tests for SyntaxErrors
...
Authored via the following command:
$ find test -type f -print0 | \
xargs -0 sed \
-i 's/^\(\s*\)negative:\s*SyntaxError\s*$/\1negative:\n\1 phase: early\n\1 type: SyntaxError/g'
2016-10-19 15:24:21 -04:00
Mathias Bynens
3a5a09eba2
Ensure U+180E is no longer considered whitespace
...
Ref. https://hashseed.blogspot.com/2014/08/in-ecma-262-5.html
Ref. https://github.com/tc39/ecma262/pull/300#issuecomment-181376767
Ref. 9b10d2a597
Fix and add @anba’s U+180E tests
2016-07-06 10:11:32 -04:00
André Bargull
9a602905d7
Fix strict mode errors in language/{identifiers, line-terminators, white-space}
...
Make tests strict mode compatible by assigning result value to a separate variable.
Part of issue #35 .
2015-05-08 17:33:33 +02:00
Brian Terlson
2a74f0ec1b
Reorganize ./test
2014-12-07 15:33:09 -08:00