From 47577564a2294668d7997b261e17fd97f0dd1fe6 Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 5 Oct 2017 22:31:00 +0100 Subject: Get more command callback tests to pass on Windows --- test/command_callback/test_swaglint_command_callback.vader | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'test/command_callback/test_swaglint_command_callback.vader') 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('')) -- cgit v1.2.3