From 1568bf81281507aaaa8c71af85e244e94bd2924c Mon Sep 17 00:00:00 2001 From: w0rp Date: Tue, 19 Dec 2017 18:23:09 +0000 Subject: Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. --- test/command_callback/test_lessc_command_callback.vader | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/command_callback/test_lessc_command_callback.vader') diff --git a/test/command_callback/test_lessc_command_callback.vader b/test/command_callback/test_lessc_command_callback.vader index 785c38c0..ec2899d1 100644 --- a/test/command_callback/test_lessc_command_callback.vader +++ b/test/command_callback/test_lessc_command_callback.vader @@ -30,7 +30,7 @@ After: Execute(node_modules directories should be discovered): call ale#test#SetFilename('lessc_paths/nested/testfile.less') - let b:executable = ale#path#Winify( + let b:executable = ale#path#Simplify( \ g:dir \ . '/lessc_paths/node_modules/.bin/lessc' \) @@ -43,7 +43,7 @@ Execute(node_modules directories should be discovered): \ ale#Escape(b:executable) \ . ' --no-color --lint' \ . ' --include-path=' - \ . ale#Escape(ale#path#Winify(g:dir . '/lessc_paths/nested')) + \ . ale#Escape(ale#path#Simplify(g:dir . '/lessc_paths/nested')) \ . ' -', \ ale_linters#less#lessc#GetCommand(bufnr('')) @@ -61,7 +61,7 @@ Execute(The global override should work): \ ale#Escape('foobar') \ . ' --no-color --lint' \ . ' --include-path=' - \ . ale#Escape(ale#path#Winify(g:dir . '/lessc_paths/nested')) + \ . ale#Escape(ale#path#Simplify(g:dir . '/lessc_paths/nested')) \ . ' -', \ ale_linters#less#lessc#GetCommand(bufnr('')) @@ -76,7 +76,7 @@ Execute(Extra options should be configurable): \ ale#Escape('lessc') \ . ' --no-color --lint' \ . ' --include-path=' - \ . ale#Escape(ale#path#Winify(g:dir)) + \ . ale#Escape(ale#path#Simplify(g:dir)) \ . ' --whatever' \ . ' -', \ ale_linters#less#lessc#GetCommand(bufnr('')) -- cgit v1.2.3