summaryrefslogtreecommitdiff
path: root/test/command_callback/test_swaglint_command_callback.vader
diff options
context:
space:
mode:
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(''))