summaryrefslogtreecommitdiff
path: root/test/linter/test_embertemplatelint.vader
blob: 4efb0f0ad9fae8a9e0e8ab07e72527e96abac224 (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')

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'