From 0a60aa46d7a52bdbac19f790096d12ba4b0858e2 Mon Sep 17 00:00:00 2001 From: Gabriel Oliveira Date: Sat, 17 Jun 2017 15:05:57 -0300 Subject: [PATCH] Fix should typo --- lib/rules/html-no-self-closing.js | 2 +- tests/lib/rules/html-no-self-closing.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/rules/html-no-self-closing.js b/lib/rules/html-no-self-closing.js index 19848cb95..0a9a3678c 100644 --- a/lib/rules/html-no-self-closing.js +++ b/lib/rules/html-no-self-closing.js @@ -29,7 +29,7 @@ function create (context) { context.report({ node, loc: node.loc, - message: 'Self-closing shuld not be used.', + message: 'Self-closing should not be used.', fix: (fixer) => fixer.removeRange([pos, pos + 1]) }) } diff --git a/tests/lib/rules/html-no-self-closing.js b/tests/lib/rules/html-no-self-closing.js index 3f298fb46..26f8edb84 100644 --- a/tests/lib/rules/html-no-self-closing.js +++ b/tests/lib/rules/html-no-self-closing.js @@ -45,19 +45,19 @@ tester.run('html-no-self-closing', rule, { filename: 'test.vue', code: '', output: '', - errors: ['Self-closing shuld not be used.'] + errors: ['Self-closing should not be used.'] }, { filename: 'test.vue', code: '', output: '', - errors: ['Self-closing shuld not be used.'] + errors: ['Self-closing should not be used.'] }, { filename: 'test.vue', code: '', output: '', - errors: ['Self-closing shuld not be used.'] + errors: ['Self-closing should not be used.'] } ] })