test262/test/language/statements
Leo Balter ba26b7f2dc Merge pull request #541 from bocoup/statement-decl
Add syntax tests for declaration restrictions
2016-03-18 15:48:44 -04:00
..
block s/id/esid 2016-02-22 09:47:42 -05:00
break Replace runTestCase with assert helpers [test/language/statements/] 2015-08-06 18:33:10 +02:00
class Improve coverage for default class constructors 2016-03-01 19:15:21 +01:00
const Add tests verifying that ASI can't occur after the leading let/const in |let let|, |let let = "...";|, and |const let = "...";|. Each matches the LexicalDeclaration production, then triggers an early error before evaluation because it attempts to bind "let". 2015-12-18 15:03:04 -05:00
continue Replace runTestCase with assert helpers [test/language/statements/] 2015-08-06 18:33:10 +02:00
debugger Add tests for `debugger` statement 2016-03-09 11:12:56 -05:00
do-while Add syntax tests for declaration restrictions 2016-03-11 12:23:15 -05:00
empty Reorganize ./test 2014-12-07 15:33:09 -08:00
expression Strict eval variable declarations are lexically scoped, assign expected result value to a previously declared global (issue #35) 2015-04-08 15:54:58 -07:00
for Add syntax tests for declaration restrictions 2016-03-11 12:23:15 -05:00
for-in Add syntax tests for declaration restrictions 2016-03-11 12:23:15 -05:00
for-of Add syntax tests for declaration restrictions 2016-03-11 12:23:15 -05:00
function s/id/esid 2016-02-22 09:47:42 -05:00
generators s/id/esid 2016-02-22 09:47:42 -05:00
if Add syntax tests for declaration restrictions 2016-03-11 12:23:15 -05:00
labeled Add syntax tests for declaration restrictions 2016-03-11 12:23:15 -05:00
let Add tests verifying that ASI can't occur after the leading let/const in |let let|, |let let = "...";|, and |const let = "...";|. Each matches the LexicalDeclaration production, then triggers an early error before evaluation because it attempts to bind "let". 2015-12-18 15:03:04 -05:00
return s/id/esid 2016-02-22 09:47:42 -05:00
switch s/id/esid 2016-02-22 09:47:42 -05:00
throw Prefer explicit error checking where possible 2015-07-10 14:12:57 -04:00
try s/id/esid 2016-02-22 09:47:42 -05:00
variable Replace runTestCase with assert helpers [test/language/statements] 2015-08-13 17:33:42 +02:00
while Add syntax tests for declaration restrictions 2016-03-11 12:23:15 -05:00
with Add syntax tests for declaration restrictions 2016-03-11 12:23:15 -05:00