From 937d0b1df1521e7ac4e1d22d521548fe5f2ba9ed Mon Sep 17 00:00:00 2001 From: Mike Pennisi Date: Sun, 31 Mar 2019 20:14:09 -0400 Subject: [PATCH] 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. --- test/language/literals/numeric/7.8.3-2-s.js | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 test/language/literals/numeric/7.8.3-2-s.js diff --git a/test/language/literals/numeric/7.8.3-2-s.js b/test/language/literals/numeric/7.8.3-2-s.js deleted file mode 100644 index ec7db555e8..0000000000 --- a/test/language/literals/numeric/7.8.3-2-s.js +++ /dev/null @@ -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");