From 53f847b1bc2773e980c27d72dd4681f63919d5a5 Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Thu, 21 Dec 2017 16:37:14 -0500 Subject: [PATCH] Remove static private/public fields unsupported tests. --- .../class/static-private-fields-unsupported.js | 10 ---------- .../class/static-public-fields-unsupported.js | 11 ----------- 2 files changed, 21 deletions(-) delete mode 100644 test/language/statements/class/static-private-fields-unsupported.js delete mode 100644 test/language/statements/class/static-public-fields-unsupported.js 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; }");