From 5de1bb4cd5fbe928c1977fa08db412065d2deb4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Tue, 24 Sep 2019 19:51:47 +0200 Subject: [PATCH] Add missing used features to private fields tests (#2361) --- .../elements/private-field-is-visible-in-computed-properties.js | 2 +- ...eld-with-initialized-id-is-visible-in-computed-properties.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/language/statements/class/elements/private-field-is-visible-in-computed-properties.js b/test/language/statements/class/elements/private-field-is-visible-in-computed-properties.js index 1bdcdd60a0..c74a373152 100644 --- a/test/language/statements/class/elements/private-field-is-visible-in-computed-properties.js +++ b/test/language/statements/class/elements/private-field-is-visible-in-computed-properties.js @@ -43,7 +43,7 @@ info: | 3. If the binding for N in envRec is an uninitialized binding, throw a ReferenceError exception. ... -features: [class-fields-private, class] +features: [class-fields-private, class-fields-public, class] ---*/ const self = this; diff --git a/test/language/statements/class/elements/private-field-with-initialized-id-is-visible-in-computed-properties.js b/test/language/statements/class/elements/private-field-with-initialized-id-is-visible-in-computed-properties.js index 57020c3a26..dc8722766e 100644 --- a/test/language/statements/class/elements/private-field-with-initialized-id-is-visible-in-computed-properties.js +++ b/test/language/statements/class/elements/private-field-with-initialized-id-is-visible-in-computed-properties.js @@ -63,7 +63,7 @@ info: | 4. If entry is empty, throw a TypeError exception. 5. Return entry.[[PrivateFieldValue]]. -features: [class-fields-private, class] +features: [class-fields-private, class-fields-public, class] ---*/ const self = this;