summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2017-09-08 12:58:11 -0400
committerRick Waldron <waldron.rick@gmail.com>2017-09-08 13:05:21 -0400
commite294b8004dae012a06057e508b3b80a6857b0763 (patch)
tree1dc36e5c5072a5d0fd139ce623335289523549c1 /tools
parent1df51ee19c7e3e7385e290bbf7578592c0168fe2 (diff)
downloadqtdeclarative-testsuites-e294b8004dae012a06057e508b3b80a6857b0763.tar.gz
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.js2
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.