From e294b8004dae012a06057e508b3b80a6857b0763 Mon Sep 17 00:00:00 2001 From: Rick Waldron <waldron.rick@gmail.com> Date: Fri, 8 Sep 2017 12:58:11 -0400 Subject: [PATCH] Rename fixture and change actual test, because an empty "features" list is invalid anyway! --- .../{harness_features_empty.js => harness_features_missing.js} | 3 +-- tools/lint/test/fixtures/harness_features_multiple_includes.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) rename tools/lint/test/fixtures/{harness_features_empty.js => harness_features_missing.js} (79%) diff --git a/tools/lint/test/fixtures/harness_features_empty.js b/tools/lint/test/fixtures/harness_features_missing.js similarity index 79% rename from tools/lint/test/fixtures/harness_features_empty.js rename to tools/lint/test/fixtures/harness_features_missing.js index 2fc5bae129..e2922f2c16 100644 --- a/tools/lint/test/fixtures/harness_features_empty.js +++ b/tools/lint/test/fixtures/harness_features_missing.js @@ -1,11 +1,10 @@ -HARNESS_FEATURES - Missing Frontmatter: `features: [TypedArray]` +HARNESS_FEATURES - Missing: `features: [TypedArray]` ^ expected errors | v input // Copyright (C) 2017 Rick Waldron. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-assignment-operators-static-semantics-early-errors description: Minimal test -features: [] includes: [testTypedArray.js] ---*/ diff --git a/tools/lint/test/fixtures/harness_features_multiple_includes.js b/tools/lint/test/fixtures/harness_features_multiple_includes.js index 81726b80fd..e21b9c8651 100644 --- a/tools/lint/test/fixtures/harness_features_multiple_includes.js +++ b/tools/lint/test/fixtures/harness_features_multiple_includes.js @@ -1,4 +1,4 @@ -HARNESS_FEATURES - Missing Frontmatter: `features: [Symbol.toPrimitive, BigInt] +HARNESS_FEATURES - Missing: `features: [Symbol.toPrimitive, BigInt]` ^ expected errors | v input // Copyright (C) 2017 Rick Waldron. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -- GitLab