Remove redundant test

The production under test is also used in the following file:

test/language/literals/numeric/legacy-octal-integer-strict.js

That test expresses the syntax with literal source text, making it
useful for parsers. Remove this test in favor of the other.
This commit is contained in:
Mike Pennisi 2019-03-31 20:14:09 -04:00
parent de567d3aa5
commit 937d0b1df1
1 changed files with 0 additions and 19 deletions

View File

@ -1,19 +0,0 @@
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 7.8.3-2-s
description: Strict Mode - octal extension (00) is forbidden in strict mode
flags: [onlyStrict]
---*/
var err = null;
try {
eval("var _7_8_3_2 = 00;");
} catch (e) {
err = e;
}
assert(err instanceof SyntaxError);
assert.sameValue(typeof _7_8_3_2, "undefined");