Skip to content
Snippets Groups Projects
Commit b819c597 authored by Mike Pennisi's avatar Mike Pennisi
Browse files

Remove redundant test

This behavior is covered by another test in this directory:
`arguments-strict-single.js`. Although the syntax error happens to occur
within the body of a function expression, this distinction is not
significant enough to warrant the test's presence nor does it motivate
the introduction of many similar negative syntax tests which are
currently unavailable.
parent 6b00c8fb
Branches
No related tags found
No related merge requests found
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 12.2.1-14-s
description: >
arguments - a function expr declaring a var named 'arguments'
throws SyntaxError in strict mode
flags: [onlyStrict]
---*/
assert.throws(SyntaxError, function() {
eval('(function (){var arguments;});');
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment