From c9249a8f9222191412961e40486444172615dd67 Mon Sep 17 00:00:00 2001 From: Mike Pennisi Date: Sun, 31 Mar 2019 20:26:12 -0400 Subject: [PATCH] Remove indirect tests These tests are ostensibly designed to validate parsing of Regular Expression literals--specifically those which use Unicode escape sequences to declare flags. However, because the syntax is expressed in terms of a string literal and then evaluated dynamically, the escape sequences in use have no bearing on the program code which is ultimately parsed. These tests therefore do not extend coverage in any meaningful way and may be removed. --- test/language/literals/regexp/S7.8.5_A3.1_T7.js | 15 --------------- test/language/literals/regexp/S7.8.5_A3.1_T8.js | 15 --------------- test/language/literals/regexp/S7.8.5_A3.1_T9.js | 15 --------------- 3 files changed, 45 deletions(-) delete mode 100644 test/language/literals/regexp/S7.8.5_A3.1_T7.js delete mode 100644 test/language/literals/regexp/S7.8.5_A3.1_T8.js delete mode 100644 test/language/literals/regexp/S7.8.5_A3.1_T9.js diff --git a/test/language/literals/regexp/S7.8.5_A3.1_T7.js b/test/language/literals/regexp/S7.8.5_A3.1_T7.js deleted file mode 100644 index 32ea84b120..0000000000 --- a/test/language/literals/regexp/S7.8.5_A3.1_T7.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: "RegularExpressionFlags :: IdentifierPart" -es5id: 7.8.5_A3.1_T7 -description: "IdentifierPart :: \\u0067 (g)" ----*/ - -//CHECK#1 -var regexp; -eval("regexp = /(?:)/\u0067"); -if (regexp.global !== true) { - $ERROR('#1: var regexp = /(?:)/\\u0067; regexp.global === true. Actual: ' + (regexp.global)); -} diff --git a/test/language/literals/regexp/S7.8.5_A3.1_T8.js b/test/language/literals/regexp/S7.8.5_A3.1_T8.js deleted file mode 100644 index 1a44b782e1..0000000000 --- a/test/language/literals/regexp/S7.8.5_A3.1_T8.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: "RegularExpressionFlags :: IdentifierPart" -es5id: 7.8.5_A3.1_T8 -description: "IdentifierPart :: \\u0069 (i)" ----*/ - -//CHECK#1 -var regexp; -eval("regexp = /(?:)/\u0069"); -if (regexp.ignoreCase !== true) { - $ERROR('#1: var regexp = /(?:)/\\u0069; regexp.ignoreCase === true. Actual: ' + (regexp.ignoreCase)); -} diff --git a/test/language/literals/regexp/S7.8.5_A3.1_T9.js b/test/language/literals/regexp/S7.8.5_A3.1_T9.js deleted file mode 100644 index 1032903d56..0000000000 --- a/test/language/literals/regexp/S7.8.5_A3.1_T9.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: "RegularExpressionFlags :: IdentifierPart" -es5id: 7.8.5_A3.1_T9 -description: "IdentifierPart :: \\u006D (m)" ----*/ - -//CHECK#1 -var regexp; -eval("regexp = /(?:)/\u006D"); -if (regexp.multiline !== true) { - $ERROR('#1: var regexp = /(?:)/\\u006D; regexp.multiline === true. Actual: ' + (regexp.multiline)); -}