summaryrefslogtreecommitdiff
path: root/test/command_callback/test_jshint_command_callback.vader
blob: d665a9c10ca59a3bad4bbba37ca200d70ef2a3ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Before:
  call ale#assert#SetUpLinterTest('javascript', 'jshint')

After:
  call ale#assert#TearDownLinterTest()

Execute(The default command should be correct):

  AssertLinter 'jshint', '''jshint'' --reporter unix --extract auto --filename %s -'

Execute(Setting a config location should add the config parameter):
  let g:ale_jshint_config_loc = '/some/file'

  AssertLinter 'jshint', '''jshint'' --reporter unix --extract auto --config ''/some/file'' --filename %s -'