summaryrefslogtreecommitdiff
path: root/test/command_callback/test_php_command_callback.vader
blob: 81e13f9364aa194f5f41e9a69429f1dfd9a5e2fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Before:
  call ale#assert#SetUpLinterTest('php', 'php')
  let b:command_tail = ' -l -d error_reporting=E_ALL -d display_errors=1'
  \   . ' -d log_errors=0 --'

After:
  call ale#assert#TearDownLinterTest()

Execute(The executable should be configurable):
  AssertLinter 'php',  ale#Escape('php') . b:command_tail

  let b:ale_php_php_executable = '/path/to/php'

  AssertLinter '/path/to/php', ale#Escape('/path/to/php') . b:command_tail