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.
This commit is contained in:
Mike Pennisi 2018-09-23 22:15:07 -04:00
parent 6b00c8fbfe
commit b819c597ab
1 changed files with 0 additions and 15 deletions

View File

@ -1,15 +0,0 @@
// 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;});');
});