Remove erroneous test

This test is technically valid because it does trigger a SyntaxError in
conforming runtimes. However, it was authored and documented to test
LegacyOctalEscapeSequence, but due to an apparent typo, it actually
demonstrates an unrelated parsing error.

Because 'legacy-octal-escape-sequence-stricts.js' sufficiently tests the
restriction on LegacyOctalEscapeSequence, remove this test rather than
correct it.
This commit is contained in:
Mike Pennisi 2018-07-08 11:25:53 -04:00 committed by Rick Waldron
parent 4e1a860abd
commit 4f1e628107
1 changed files with 0 additions and 13 deletions

View File

@ -1,13 +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.4-31-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
---*/
assert.throws(SyntaxError, function() {
eval('var x = "\\" + "1";');
});