From f2ca1ca7d9ce73329754b3a7f0d098ad48bd109b Mon Sep 17 00:00:00 2001 From: Conduitry Date: Mon, 23 Dec 2019 14:04:14 -0500 Subject: [PATCH] tidy --- test/validator/index.js | 2 +- .../warnings.json | 26 +++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/test/validator/index.js b/test/validator/index.js index 041e8f5b2a..8bf0400d7c 100644 --- a/test/validator/index.js +++ b/test/validator/index.js @@ -28,7 +28,7 @@ describe("validate", () => { dev: config.dev, legacy: config.legacy, generate: false, - customElement : config.customElement || false + customElement: config.customElement }); assert.deepEqual(warnings.map(w => ({ diff --git a/test/validator/samples/tag-custom-element-options-missing/warnings.json b/test/validator/samples/tag-custom-element-options-missing/warnings.json index 505f44e5d1..185c6c3179 100644 --- a/test/validator/samples/tag-custom-element-options-missing/warnings.json +++ b/test/validator/samples/tag-custom-element-options-missing/warnings.json @@ -1,15 +1,15 @@ [{ - "code": "missing-custom-element-compile-options", - "message": "The 'tag' option is used when generating a custom element. Did you forget the 'customElement: true' compile option?", - "start": { - "line": 1, - "column": 16, - "character": 16 - }, - "end": { - "line": 1, - "column": 36, - "character": 36 - }, - "pos": 16 + "code": "missing-custom-element-compile-options", + "message": "The 'tag' option is used when generating a custom element. Did you forget the 'customElement: true' compile option?", + "start": { + "line": 1, + "column": 16, + "character": 16 + }, + "end": { + "line": 1, + "column": 36, + "character": 36 + }, + "pos": 16 }]