X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/0ee596c5c5e11fc79598407eaf22f83d279f7e9e..5a4872f466ebd76ddd532bdf2798554421c53df4:/.vim/bundle/ale/test/linter/test_embertemplatelint.vader?ds=sidebyside diff --git a/.vim/bundle/ale/test/linter/test_embertemplatelint.vader b/.vim/bundle/ale/test/linter/test_embertemplatelint.vader new file mode 100644 index 00000000..4efb0f0a --- /dev/null +++ b/.vim/bundle/ale/test/linter/test_embertemplatelint.vader @@ -0,0 +1,17 @@ +Before: + call ale#assert#SetUpLinterTest('handlebars', 'embertemplatelint') + +After: + call ale#assert#TearDownLinterTest() + +Execute(Runs the right command for ember-template-lint >= 4.x): + GivenCommandOutput ['4.0.0'] + + AssertLinter 'ember-template-lint', + \ ale#Escape('ember-template-lint') . ' --format=json --filename %s' + +Execute(Runs the right command for ember-template-lint < 4.x): + GivenCommandOutput ['3.14.0'] + + AssertLinter 'ember-template-lint', + \ ale#Escape('ember-template-lint') . ' --json --filename %s'