fix various bugs surfaced by the esprima test suite, remove some incorrect tests
This commit is contained in:
3
test/fixtures/esprima/es2015-array-pattern/dupe-param-1/options.json
vendored
Normal file
3
test/fixtures/esprima/es2015-array-pattern/dupe-param-1/options.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"throws": "Argument name clash in strict mode (2:14)"
|
||||
}
|
||||
3
test/fixtures/esprima/es2015-array-pattern/dupe-param-2/options.json
vendored
Normal file
3
test/fixtures/esprima/es2015-array-pattern/dupe-param-2/options.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"throws": "Argument name clash in strict mode (2:17)"
|
||||
}
|
||||
3
test/fixtures/esprima/es2015-array-pattern/dupe-param-3/options.json
vendored
Normal file
3
test/fixtures/esprima/es2015-array-pattern/dupe-param-3/options.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"throws": "Argument name clash in strict mode (2:19)"
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Unexpected token (1:20)"
|
||||
}
|
||||
"throws": "Argument name clash in strict mode (1:17)"
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"throws": "Unexpected token (1:10)"
|
||||
}
|
||||
Reference in New Issue
Block a user