diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2017-09-08 12:58:11 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2017-09-08 13:05:21 -0400 |
commit | e294b8004dae012a06057e508b3b80a6857b0763 (patch) | |
tree | 1dc36e5c5072a5d0fd139ce623335289523549c1 /tools | |
parent | 1df51ee19c7e3e7385e290bbf7578592c0168fe2 (diff) |
Rename fixture and change actual test, because an empty "features" list is invalid anyway!
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lint/test/fixtures/harness_features_missing.js (renamed from tools/lint/test/fixtures/harness_features_empty.js) | 3 | ||||
-rw-r--r-- | tools/lint/test/fixtures/harness_features_multiple_includes.js | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tools/lint/test/fixtures/harness_features_empty.js b/tools/lint/test/fixtures/harness_features_missing.js index 2fc5bae12..e2922f2c1 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 81726b80f..e21b9c865 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. |