summaryrefslogtreecommitdiff
path: root/test/command_callback/test_swaglint_command_callback.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-10-05 22:31:00 +0100
committerw0rp <devw0rp@gmail.com>2017-10-05 22:31:09 +0100
commit47577564a2294668d7997b261e17fd97f0dd1fe6 (patch)
tree58ae1e9bbe104a528a888e83e7f8d0e9e5155b9f /test/command_callback/test_swaglint_command_callback.vader
parent25045641fbe92d175f2cd322497c9796d612782a (diff)
downloadale-47577564a2294668d7997b261e17fd97f0dd1fe6.zip
Get more command callback tests to pass on Windows
Diffstat (limited to 'test/command_callback/test_swaglint_command_callback.vader')
-rw-r--r--test/command_callback/test_swaglint_command_callback.vader9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/command_callback/test_swaglint_command_callback.vader b/test/command_callback/test_swaglint_command_callback.vader
index 5d04e923..379aa0cc 100644
--- a/test/command_callback/test_swaglint_command_callback.vader
+++ b/test/command_callback/test_swaglint_command_callback.vader
@@ -30,7 +30,12 @@ Execute(The yaml swaglint command callback should allow a global installation to
Execute(The yaml swaglint command callback should allow a local installation to be used):
call ale#test#SetFilename('swaglint_paths/docs/swagger.yaml')
- AssertEqual g:dir . '/swaglint_paths/node_modules/.bin/swaglint',
+
+ AssertEqual
+ \ ale#path#Winify(g:dir . '/swaglint_paths/node_modules/.bin/swaglint'),
\ ale_linters#yaml#swaglint#GetExecutable(bufnr(''))
- AssertEqual g:dir . '/swaglint_paths/node_modules/.bin/swaglint -r compact --stdin',
+
+ AssertEqual
+ \ ale#path#Winify(g:dir . '/swaglint_paths/node_modules/.bin/swaglint')
+ \ . ' -r compact --stdin',
\ ale_linters#yaml#swaglint#GetCommand(bufnr(''))