summaryrefslogtreecommitdiff
path: root/test/command_callback/test_ocaml_ols_callbacks.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2021-03-20 22:11:22 +0000
committerw0rp <devw0rp@gmail.com>2021-03-20 22:11:42 +0000
commitb1d833417bcb57e265e0d01df07b28f463529d4b (patch)
tree11421aeca89127b0cc9417f8ff4cb0d725199f49 /test/command_callback/test_ocaml_ols_callbacks.vader
parent3838ae118d8f05fa1b1be7952a1c8aa3055d6728 (diff)
downloadale-b1d833417bcb57e265e0d01df07b28f463529d4b.zip
#3633 - Put all dummy test files in test/test-files
Diffstat (limited to 'test/command_callback/test_ocaml_ols_callbacks.vader')
-rw-r--r--test/command_callback/test_ocaml_ols_callbacks.vader12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/command_callback/test_ocaml_ols_callbacks.vader b/test/command_callback/test_ocaml_ols_callbacks.vader
index c77e2909..bf9ae65b 100644
--- a/test/command_callback/test_ocaml_ols_callbacks.vader
+++ b/test/command_callback/test_ocaml_ols_callbacks.vader
@@ -17,19 +17,19 @@ Execute(The default executable should be correct):
Execute(The project root should be detected correctly):
AssertLSPProject ''
- call ale#test#SetFilename('ols_paths/file.ml')
+ call ale#test#SetFilename('../test-files/ols/file.ml')
- AssertLSPProject ale#path#Simplify(g:dir . '/ols_paths')
+ AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/ols')
Execute(The local executable should be used when available):
- call ale#test#SetFilename('ols_paths/file.ml')
+ call ale#test#SetFilename('../test-files/ols/file.ml')
- AssertLinter ale#path#Simplify(g:dir . '/ols_paths/node_modules/.bin/ocaml-language-server'),
- \ ale#Escape(ale#path#Simplify(g:dir . '/ols_paths/node_modules/.bin/ocaml-language-server')) . ' --stdio'
+ AssertLinter ale#path#Simplify(g:dir . '/../test-files/ols/node_modules/.bin/ocaml-language-server'),
+ \ ale#Escape(ale#path#Simplify(g:dir . '/../test-files/ols/node_modules/.bin/ocaml-language-server')) . ' --stdio'
Execute(The gloabl executable should always be used when use_global is set):
let g:ale_ocaml_ols_use_global = 1
- call ale#test#SetFilename('ols_paths/file.ml')
+ call ale#test#SetFilename('../test-files/ols/file.ml')
AssertLinter 'ocaml-language-server',
\ ale#Escape('ocaml-language-server') . ' --stdio'