mirror of
https://github.com/tc39/test262.git
synced 2025-07-28 08:24:23 +02:00
Remove static private/public fields unsupported tests.
This commit is contained in:
parent
dc4db968f2
commit
53f847b1bc
@ -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; }");
|
||||
|
@ -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; }");
|
Loading…
x
Reference in New Issue
Block a user