mirror of https://github.com/tc39/test262.git
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.
This commit is contained in:
parent
e0120fcbd6
commit
c9249a8f92
|
@ -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));
|
||||
}
|
|
@ -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));
|
||||
}
|
|
@ -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));
|
||||
}
|
Loading…
Reference in New Issue