diff --git a/test/language/literals/regexp/invalid-optional-lookbehind.js b/test/language/literals/regexp/invalid-optional-lookbehind.js deleted file mode 100644 index 0e46d6b2517..00000000000 --- a/test/language/literals/regexp/invalid-optional-lookbehind.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (C) 2018 Igalia S. L. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. -/*--- -esid: sec-regular-expressions-patterns -description: Lookbehinds are not treated as a QuantifiableAssertion -info: | - Term[U] :: - [~U] QuantifiableAssertion Quantifier - - QuantifiableAssertion[N]:: - ( ? = Disjunction[~U, ?N] ) - ( ? ! Disjunction[~U, ?N] ) -negative: - phase: parse - type: SyntaxError ----*/ - -throw "Test262: This statement should not be evaluated."; - -/.(?<=.)?/; diff --git a/test/language/literals/regexp/invalid-optional-negative-lookbehind.js b/test/language/literals/regexp/invalid-optional-negative-lookbehind.js deleted file mode 100644 index b972bc6764f..00000000000 --- a/test/language/literals/regexp/invalid-optional-negative-lookbehind.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (C) 2018 Igalia S. L. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. -/*--- -esid: sec-regular-expressions-patterns -description: Lookbehinds are not treated as a QuantifiableAssertion -info: | - Term[U] :: - [~U] QuantifiableAssertion Quantifier - - QuantifiableAssertion[N]:: - ( ? = Disjunction[~U, ?N] ) - ( ? ! Disjunction[~U, ?N] ) -negative: - phase: parse - type: SyntaxError ----*/ - -throw "Test262: This statement should not be evaluated."; - -/.(?