diff --git a/test/language/expressions/class/fields-privatename-constructor-err.js b/test/language/expressions/class/fields-privatename-constructor-err.js deleted file mode 100644 index 1d5edc39c8..0000000000 --- a/test/language/expressions/class/fields-privatename-constructor-err.js +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (C) 2017 Valerie Young. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -description: Private class fields early error with StringValue "#constructor" -esid: sec-class-definitions-static-semantics-early-errors -features: [class, class-fields-private] -negative: - phase: parse - type: SyntaxError -info: | - ClassElementName : PrivateName; - It is a Syntax Error if StringValue of PrivateName is "#constructor". ----*/ - - -throw "Test262: This statement should not be evaluated."; - -var C = class { - #constructor; -} diff --git a/test/language/statements/class/fields-privatename-constructor-err.js b/test/language/statements/class/fields-privatename-constructor-err.js deleted file mode 100644 index f373a67d4f..0000000000 --- a/test/language/statements/class/fields-privatename-constructor-err.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (C) 2017 Valerie Young. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -description: Private class fields early error with StringValue "#constructor" -esid: sec-class-definitions-static-semantics-early-errors -features: [class, class-fields-private] -negative: - phase: parse - type: SyntaxError -info: | - ClassElementName : PrivateName; - It is a Syntax Error if StringValue of PrivateName is "#constructor". ----*/ - -throw "Test262: This statement should not be evaluated."; - -class C { - #constructor; -}