From 490b2dc461037a37593f13e58dc292e18c2ecc2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Bargull?= <andre.bargull@gmail.com>
Date: Tue, 2 May 2017 12:09:32 -0700
Subject: [PATCH] Remove manual tests for 'yield' in generators

---
 .../generators/yield-as-binding-identifier.js | 16 --------------
 .../expressions/generators/yield-as-label.js  | 16 --------------
 .../yield-as-binding-identifier.js            | 19 -----------------
 .../method-definition/yield-as-label.js       | 19 -----------------
 ...methods-gen-yield-as-binding-identifier.js | 19 -----------------
 .../definition/methods-gen-yield-as-label.js  | 19 -----------------
 .../generators/yield-as-binding-identifier.js | 21 -------------------
 .../statements/generators/yield-as-label.js   | 16 --------------
 8 files changed, 145 deletions(-)
 delete mode 100644 test/language/expressions/generators/yield-as-binding-identifier.js
 delete mode 100644 test/language/expressions/generators/yield-as-label.js
 delete mode 100644 test/language/expressions/object/method-definition/yield-as-binding-identifier.js
 delete mode 100644 test/language/expressions/object/method-definition/yield-as-label.js
 delete mode 100644 test/language/statements/class/definition/methods-gen-yield-as-binding-identifier.js
 delete mode 100644 test/language/statements/class/definition/methods-gen-yield-as-label.js
 delete mode 100644 test/language/statements/generators/yield-as-binding-identifier.js
 delete mode 100644 test/language/statements/generators/yield-as-label.js

diff --git a/test/language/expressions/generators/yield-as-binding-identifier.js b/test/language/expressions/generators/yield-as-binding-identifier.js
deleted file mode 100644
index d90c5945ef..0000000000
--- a/test/language/expressions/generators/yield-as-binding-identifier.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (C) 2013 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-  description: >
-      `yield` is a reserved keyword within generator function bodies and may
-      not be used as a binding identifier.
-  es6id: 12.1.1
-  negative:
-    phase: early
-    type: SyntaxError
- ---*/
-
-var g = function*() {
-  yield = 1;
-};
diff --git a/test/language/expressions/generators/yield-as-label.js b/test/language/expressions/generators/yield-as-label.js
deleted file mode 100644
index 2d95446bf4..0000000000
--- a/test/language/expressions/generators/yield-as-label.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (C) 2013 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-  description: >
-      `yield` is a reserved keyword within generator function bodies and may
-      not be used as a label.
-  es6id: 12.1.1
-  negative:
-    phase: early
-    type: SyntaxError
- ---*/
-
-var g = function*() {
-  yield: 1;
-};
diff --git a/test/language/expressions/object/method-definition/yield-as-binding-identifier.js b/test/language/expressions/object/method-definition/yield-as-binding-identifier.js
deleted file mode 100644
index 20310e2e59..0000000000
--- a/test/language/expressions/object/method-definition/yield-as-binding-identifier.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2013 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-  description: >
-      `yield` is a reserved keyword within generator function bodies and may
-      not be used as a binding identifier.
-  features: [generators]
-  es6id: 12.1.1
-  negative:
-    phase: early
-    type: SyntaxError
- ---*/
-
-var obj = {
-  *g() {
-    yield = 1;
-  }
-};
diff --git a/test/language/expressions/object/method-definition/yield-as-label.js b/test/language/expressions/object/method-definition/yield-as-label.js
deleted file mode 100644
index 6a9f15f16f..0000000000
--- a/test/language/expressions/object/method-definition/yield-as-label.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2013 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-  description: >
-      `yield` is a reserved keyword within generator function bodies and may
-      not be used as a label.
-  features: [generators]
-  es6id: 12.1.1
-  negative:
-    phase: early
-    type: SyntaxError
- ---*/
-
-var obj = {
-  *g() {
-    yield: 1;
-  }
-};
diff --git a/test/language/statements/class/definition/methods-gen-yield-as-binding-identifier.js b/test/language/statements/class/definition/methods-gen-yield-as-binding-identifier.js
deleted file mode 100644
index ff2f57abb2..0000000000
--- a/test/language/statements/class/definition/methods-gen-yield-as-binding-identifier.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2013 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-  description: >
-      `yield` is a reserved keyword within generator function bodies and may
-      not be used as a binding identifier.
-  features: [generators]
-  es6id: 12.1.1
-  negative:
-    phase: early
-    type: SyntaxError
- ---*/
-
-class A {
-  *g() {
-    yield = 1;
-  }
-}
diff --git a/test/language/statements/class/definition/methods-gen-yield-as-label.js b/test/language/statements/class/definition/methods-gen-yield-as-label.js
deleted file mode 100644
index 6b9da37724..0000000000
--- a/test/language/statements/class/definition/methods-gen-yield-as-label.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2013 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-  description: >
-      `yield` is a reserved keyword within generator function bodies and may
-      not be used as a label.
-  features: [generators]
-  es6id: 12.1.1
-  negative:
-    phase: early
-    type: SyntaxError
- ---*/
-
-class A {
-  *g() {
-    yield: 1;
-  }
-}
diff --git a/test/language/statements/generators/yield-as-binding-identifier.js b/test/language/statements/generators/yield-as-binding-identifier.js
deleted file mode 100644
index e450378779..0000000000
--- a/test/language/statements/generators/yield-as-binding-identifier.js
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright (C) 2013 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-  description: >
-      `yield` is a reserved keyword within generator function bodies and may
-      not be used as a binding identifier.
-  es6id: 12.1.1
-  negative:
-    phase: early
-    type: SyntaxError
- ---*/
-
-var result;
-function* g() {
-  yield = 1;
-}
-
-result = g().next();
-assert.sameValue(result.value, undefined);
-assert.sameValue(result.done, true);
diff --git a/test/language/statements/generators/yield-as-label.js b/test/language/statements/generators/yield-as-label.js
deleted file mode 100644
index 0da2b9a424..0000000000
--- a/test/language/statements/generators/yield-as-label.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (C) 2013 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-  description: >
-      `yield` is a reserved keyword within generator function bodies and may
-      not be used as a label.
-  es6id: 12.1.1
-  negative:
-    phase: early
-    type: SyntaxError
- ---*/
-
-function* g() {
-  yield: 1;
-}
-- 
GitLab