From ef591384d86026af5d20d2e20b7034abb698699d Mon Sep 17 00:00:00 2001 From: Leo Balter Date: Wed, 5 Sep 2018 17:12:58 -0400 Subject: [PATCH] Remove old duplicate tests --- ...ody-static-method-contains-direct-super.js | 21 ----------------- ...static-method-get-contains-direct-super.js | 23 ------------------- ...static-method-set-contains-direct-super.js | 23 ------------------- 3 files changed, 67 deletions(-) delete mode 100644 test/language/statements/class/syntax/early-errors/class-body-static-method-contains-direct-super.js delete mode 100644 test/language/statements/class/syntax/early-errors/class-body-static-method-get-contains-direct-super.js delete mode 100644 test/language/statements/class/syntax/early-errors/class-body-static-method-set-contains-direct-super.js diff --git a/test/language/statements/class/syntax/early-errors/class-body-static-method-contains-direct-super.js b/test/language/statements/class/syntax/early-errors/class-body-static-method-contains-direct-super.js deleted file mode 100644 index 03dae8ee8c..0000000000 --- a/test/language/statements/class/syntax/early-errors/class-body-static-method-contains-direct-super.js +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (C) 2015 the V8 project authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. -/*--- -es6id: 14.5.1 -description: > - ClassElement : static MethodDefinition - - It is a Syntax Error if HasDirectSuper of MethodDefinition is true. - -negative: - phase: parse - type: SyntaxError ----*/ - -throw "Test262: This statement should not be evaluated."; -class A { - static method() { - super(); - } -} - diff --git a/test/language/statements/class/syntax/early-errors/class-body-static-method-get-contains-direct-super.js b/test/language/statements/class/syntax/early-errors/class-body-static-method-get-contains-direct-super.js deleted file mode 100644 index b57b1e4069..0000000000 --- a/test/language/statements/class/syntax/early-errors/class-body-static-method-get-contains-direct-super.js +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright (C) 2015 the V8 project authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. -/*--- -es6id: 14.5.1 -description: > - ClassElement : static MethodDefinition - - It is a Syntax Error if HasDirectSuper of MethodDefinition is true. - - (get) - -negative: - phase: parse - type: SyntaxError ----*/ - -throw "Test262: This statement should not be evaluated."; -class A { - static get method() { - super(); - } -} - diff --git a/test/language/statements/class/syntax/early-errors/class-body-static-method-set-contains-direct-super.js b/test/language/statements/class/syntax/early-errors/class-body-static-method-set-contains-direct-super.js deleted file mode 100644 index 4807aed00d..0000000000 --- a/test/language/statements/class/syntax/early-errors/class-body-static-method-set-contains-direct-super.js +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright (C) 2015 the V8 project authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. -/*--- -es6id: 14.5.1 -description: > - ClassElement : static MethodDefinition - - It is a Syntax Error if HasDirectSuper of MethodDefinition is true. - - (set) - -negative: - phase: parse - type: SyntaxError ----*/ - -throw "Test262: This statement should not be evaluated."; -class A { - static set method(_) { - super(); - } -} -