diff --git a/test/language/statements/class/static-private-fields-unsupported.js b/test/language/statements/class/static-private-fields-unsupported.js deleted file mode 100644 index 130b29aeb3..0000000000 --- a/test/language/statements/class/static-private-fields-unsupported.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (C) 2017 Igalia, S. L. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. -/*--- -description: Static private fields are not supported -features: [class, class-fields-private] ----*/ - -assert.throws.early(SyntaxError, "class C { static #field; }"); -assert.throws.early(SyntaxError, "class C { static #field = 0; }"); - diff --git a/test/language/statements/class/static-public-fields-unsupported.js b/test/language/statements/class/static-public-fields-unsupported.js deleted file mode 100644 index 32239ea481..0000000000 --- a/test/language/statements/class/static-public-fields-unsupported.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (C) 2017 Igalia, S. L. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. -/*--- -description: Static public fields are not supported -features: [class, class-fields-public] ----*/ - -assert.throws.early(SyntaxError, "class C { static field; }"); -assert.throws.early(SyntaxError, "class C { static field = 0; }"); -assert.throws.early(SyntaxError, "class C { static ['field']; }"); -assert.throws.early(SyntaxError, "class C { static ['field'] = 0; }");