summaryrefslogtreecommitdiff
path: root/test/command_callback/test_pycodestyle_command_callback.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-10-08 23:26:50 +0100
committerw0rp <devw0rp@gmail.com>2017-10-08 23:26:50 +0100
commita809c4fa3a781af7401d2f11ee5155caef081457 (patch)
treeba0becb5ee2237c909e45b70f5112d35b7534bb1 /test/command_callback/test_pycodestyle_command_callback.vader
parent65aa88a7d5d9b855f71f2b2f30cb4ae1fca63ad3 (diff)
downloadale-a809c4fa3a781af7401d2f11ee5155caef081457.zip
Get more random tests to pass on Windows
Diffstat (limited to 'test/command_callback/test_pycodestyle_command_callback.vader')
-rw-r--r--test/command_callback/test_pycodestyle_command_callback.vader8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/command_callback/test_pycodestyle_command_callback.vader b/test/command_callback/test_pycodestyle_command_callback.vader
index a5163461..58aefa20 100644
--- a/test/command_callback/test_pycodestyle_command_callback.vader
+++ b/test/command_callback/test_pycodestyle_command_callback.vader
@@ -9,15 +9,17 @@ After:
Restore
Execute(The pycodestyle command callback should return default string):
- AssertEqual '''pycodestyle'' -',
+ AssertEqual ale#Escape('pycodestyle') . ' -',
\ ale_linters#python#pycodestyle#GetCommand(bufnr(''))
Execute(The pycodestyle command callback should allow options):
let g:ale_python_pycodestyle_options = '--exclude=test*.py'
- AssertEqual '''pycodestyle'' --exclude=test*.py -',
+
+ AssertEqual ale#Escape('pycodestyle') . ' --exclude=test*.py -',
\ ale_linters#python#pycodestyle#GetCommand(bufnr(''))
Execute(The pycodestyle executable should be configurable):
let g:ale_python_pycodestyle_executable = '~/.local/bin/pycodestyle'
- AssertEqual '''~/.local/bin/pycodestyle'' -',
+
+ AssertEqual ale#Escape('~/.local/bin/pycodestyle') . ' -',
\ ale_linters#python#pycodestyle#GetCommand(bufnr(''))