From 89bb1b79e8f1d969a32bd0b9dc8ee9125e5cdbc6 Mon Sep 17 00:00:00 2001 From: Alexey Shvayka Date: Tue, 21 Apr 2020 16:07:44 +0300 Subject: [PATCH] Remove negative parse tests that are now valid --- .../invalid-u-escape-in-groupspecifier-2.js | 15 --------------- .../invalid-u-escape-in-groupspecifier.js | 15 --------------- 2 files changed, 30 deletions(-) delete mode 100644 test/language/literals/regexp/named-groups/invalid-u-escape-in-groupspecifier-2.js delete mode 100644 test/language/literals/regexp/named-groups/invalid-u-escape-in-groupspecifier.js diff --git a/test/language/literals/regexp/named-groups/invalid-u-escape-in-groupspecifier-2.js b/test/language/literals/regexp/named-groups/invalid-u-escape-in-groupspecifier-2.js deleted file mode 100644 index 372556757e..0000000000 --- a/test/language/literals/regexp/named-groups/invalid-u-escape-in-groupspecifier-2.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2017 the V8 project authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -description: \u{} escapes in GroupSpecifier allowed only in Unicode mode -esid: prod-GroupSpecifier -negative: - phase: parse - type: SyntaxError -features: [regexp-named-groups] ----*/ - -$DONOTEVALUATE(); - -/(?<\u{03C0}>a)/; diff --git a/test/language/literals/regexp/named-groups/invalid-u-escape-in-groupspecifier.js b/test/language/literals/regexp/named-groups/invalid-u-escape-in-groupspecifier.js deleted file mode 100644 index ebf457a3a5..0000000000 --- a/test/language/literals/regexp/named-groups/invalid-u-escape-in-groupspecifier.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2017 the V8 project authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -description: \u{} escapes in GroupSpecifier allowed only in Unicode mode -esid: prod-GroupSpecifier -negative: - phase: parse - type: SyntaxError -features: [regexp-named-groups] ----*/ - -$DONOTEVALUATE(); - -/(?<\u{0041}>.)/;