diff options
Diffstat (limited to 'test/linter/test_pony_ponyc.vader')
-rw-r--r-- | test/linter/test_pony_ponyc.vader | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/linter/test_pony_ponyc.vader b/test/linter/test_pony_ponyc.vader index 3a3b32ec..18952db7 100644 --- a/test/linter/test_pony_ponyc.vader +++ b/test/linter/test_pony_ponyc.vader @@ -4,9 +4,11 @@ Before: After: call ale#assert#TearDownLinterTest() -Execute(The options should be used in the command): +Execute(The default ponyc command should be correct): AssertLinter 'ponyc', ale#Escape('ponyc') . ' --pass paint' - let b:ale_pony_ponyc_options = 'foobar' +Execute(The pony executable and options should be configurable): + let b:ale_pony_ponyc_executable = 'foobar' + let b:ale_pony_ponyc_options = '--some-option' - AssertLinter 'ponyc', ale#Escape('ponyc') . ' foobar' + AssertLinter 'foobar', ale#Escape('foobar') . ' --some-option' |