summaryrefslogtreecommitdiff
path: root/test/linter/test_embertemplatelint.vader
blob: 97687d29b390cab88df5c2a13a683a4b58cf83a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Before:
  call ale#assert#SetUpLinterTest('handlebars', 'embertemplatelint')

  GivenCommandOutput ['1.6.0']

After:
  call ale#assert#TearDownLinterTest()

Execute(ember-template-lint executables runs the right command):
  AssertLinter 'ember-template-lint',
  \ ale#Escape('ember-template-lint') . ' --json --filename %s'

Execute(old ember-template-lint executables runs the right command):
  GivenCommandOutput []

  AssertLinter 'ember-template-lint',
  \ ale#Escape('ember-template-lint') . ' --json %t'