summaryrefslogtreecommitdiff
path: root/test/command_callback/test_php_langserver_callbacks.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_php_langserver_callbacks.vader
parent65aa88a7d5d9b855f71f2b2f30cb4ae1fca63ad3 (diff)
downloadale-a809c4fa3a781af7401d2f11ee5155caef081457.zip
Get more random tests to pass on Windows
Diffstat (limited to 'test/command_callback/test_php_langserver_callbacks.vader')
-rw-r--r--test/command_callback/test_php_langserver_callbacks.vader6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/command_callback/test_php_langserver_callbacks.vader b/test/command_callback/test_php_langserver_callbacks.vader
index 38630f4b..0c7e69ef 100644
--- a/test/command_callback/test_php_langserver_callbacks.vader
+++ b/test/command_callback/test_php_langserver_callbacks.vader
@@ -33,13 +33,13 @@ Execute(Vendor executables should be detected):
call ale#test#SetFilename('php-langserver-project/test.php')
AssertEqual
- \ g:dir . '/php-langserver-project/vendor/bin/php-language-server.php',
+ \ ale#path#Winify(g:dir . '/php-langserver-project/vendor/bin/php-language-server.php'),
\ ale_linters#php#langserver#GetExecutable(bufnr(''))
AssertEqual
- \ 'php ' . ale#Escape(
+ \ 'php ' . ale#Escape(ale#path#Winify(
\ g:dir
\ . '/php-langserver-project/vendor/bin/php-language-server.php'
- \ ),
+ \ )),
\ ale_linters#php#langserver#GetCommand(bufnr(''))
Execute(The language string should be correct):