All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
2 call ale#assert#SetUpLinterTest('erlang', 'syntaxerl')
5 call ale#assert#TearDownLinterTest()
7 Execute (The default commands should be correct):
8 AssertLinter 'syntaxerl', [
9 \ ale#Escape('syntaxerl') . ' -h',
10 \ ale#Escape('syntaxerl') . ' %t',
13 Execute (The executable should be configurable):
14 let b:ale_erlang_syntaxerl_executable = '/path/to/syntaxerl'
16 AssertLinter '/path/to/syntaxerl', [
17 \ ale#Escape('/path/to/syntaxerl') . ' -h',
18 \ ale#Escape('/path/to/syntaxerl') . ' %t',
21 Execute (The -b option should be used when available):
23 \ 'Syntax checker for Erlang (0.14.0)',
24 \ 'Usage: syntaxerl [-d | --debug] <FILENAME>',
25 \ ' syntaxerl <-h | --help>',
26 \ ' -d, --debug Enable debug output',
27 \ ' -h, --help Show this message',
29 AssertLinter 'syntaxerl', [
30 \ ale#Escape('syntaxerl') . ' -h',
31 \ ale#Escape('syntaxerl') . ' %t',
35 \ 'Syntax checker for Erlang (0.14.0)',
36 \ 'Usage: syntaxerl [-b | --base <FILENAME>] [-d | --debug] <FILENAME>',
37 \ ' syntaxerl <-h | --help>',
38 \ ' -b, --base Set original filename',
39 \ ' -d, --debug Enable debug output',
40 \ ' -h, --help Show this message',
42 AssertLinter 'syntaxerl', [
43 \ ale#Escape('syntaxerl') . ' -h',
44 \ ale#Escape('syntaxerl') . ' -b %s %t',