From b1d833417bcb57e265e0d01df07b28f463529d4b Mon Sep 17 00:00:00 2001 From: w0rp Date: Sat, 20 Mar 2021 22:11:22 +0000 Subject: #3633 - Put all dummy test files in test/test-files --- test/command_callback/test_ocaml_ols_callbacks.vader | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/command_callback/test_ocaml_ols_callbacks.vader') 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' -- cgit v1.2.3