diff options
author | w0rp <devw0rp@gmail.com> | 2019-05-20 20:06:44 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-05-20 20:06:44 +0100 |
commit | 937138dad4910e2746abcf34c9d0dc4ffb5454f3 (patch) | |
tree | ef32fd528080e17d84e2b48d46657014d747ece8 /test/command_callback/test_objc_ccls_command_callbacks.vader | |
parent | 143af2b9fd78dbfd5ee8ae727a522dd2dcc79b61 (diff) | |
download | ale-937138dad4910e2746abcf34c9d0dc4ffb5454f3.zip |
Try to fix the tests
Diffstat (limited to 'test/command_callback/test_objc_ccls_command_callbacks.vader')
-rw-r--r-- | test/command_callback/test_objc_ccls_command_callbacks.vader | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command_callback/test_objc_ccls_command_callbacks.vader b/test/command_callback/test_objc_ccls_command_callbacks.vader index 9d0c7690..5aa69d6a 100644 --- a/test/command_callback/test_objc_ccls_command_callbacks.vader +++ b/test/command_callback/test_objc_ccls_command_callbacks.vader @@ -5,6 +5,8 @@ After: call ale#assert#TearDownLinterTest() Execute(The project root should be detected correctly using compile_commands.json file): + call ale#test#SetFilename(tempname() . '/dummy.m') + AssertLSPProject '' call ale#test#SetFilename('ccls_paths/with_compile_commands_json/dummy.m') @@ -12,6 +14,8 @@ Execute(The project root should be detected correctly using compile_commands.jso AssertLSPProject ale#path#Simplify(g:dir . '/ccls_paths/with_compile_commands_json') Execute(The project root should be detected correctly using .ccls file): + call ale#test#SetFilename(tempname() . '/dummy.m') + AssertLSPProject '' call ale#test#SetFilename('ccls_paths/with_ccls/dummy.m') @@ -19,6 +23,8 @@ Execute(The project root should be detected correctly using .ccls file): AssertLSPProject ale#path#Simplify(g:dir . '/ccls_paths/with_ccls') Execute(The project root should be detected correctly using .ccls-root file): + call ale#test#SetFilename(tempname() . '/dummy.m') + AssertLSPProject '' call ale#test#SetFilename('ccls_paths/with_ccls-root/dummy.m') |