Escape the ponyc executable

This commit is contained in:
w0rp committed 2018-02-18 10:06:40 +00:00
1 parent 608b6dafd4
commit 5915a0ee39
2 files changed
+3 -3

No files matched your search

@@ -13,11 +13,11 @@ After:
Execute(The options should be used in the command):
AssertEqual
\ 'ponyc --pass paint',
\ ale#Escape('ponyc') . ' --pass paint',
\ ale_linters#pony#ponyc#GetCommand(bufnr(''))
let b:ale_pony_ponyc_options = 'foobar'
AssertEqual
\ 'ponyc foobar',
\ ale#Escape('ponyc') . ' foobar',
\ ale_linters#pony#ponyc#GetCommand(bufnr(''))