summaryrefslogtreecommitdiff
path: root/test/command_callback/test_cpp_cquery_command_callbacks.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-05-20 20:06:44 +0100
committerw0rp <devw0rp@gmail.com>2019-05-20 20:06:44 +0100
commit937138dad4910e2746abcf34c9d0dc4ffb5454f3 (patch)
treeef32fd528080e17d84e2b48d46657014d747ece8 /test/command_callback/test_cpp_cquery_command_callbacks.vader
parent143af2b9fd78dbfd5ee8ae727a522dd2dcc79b61 (diff)
downloadale-937138dad4910e2746abcf34c9d0dc4ffb5454f3.zip
Try to fix the tests
Diffstat (limited to 'test/command_callback/test_cpp_cquery_command_callbacks.vader')
-rw-r--r--test/command_callback/test_cpp_cquery_command_callbacks.vader4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/command_callback/test_cpp_cquery_command_callbacks.vader b/test/command_callback/test_cpp_cquery_command_callbacks.vader
index 7eb2a284..842f123e 100644
--- a/test/command_callback/test_cpp_cquery_command_callbacks.vader
+++ b/test/command_callback/test_cpp_cquery_command_callbacks.vader
@@ -8,6 +8,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.cpp')
+
AssertLSPProject ''
call ale#test#SetFilename('cquery_paths/dummy.cpp')
@@ -15,6 +17,8 @@ Execute(The project root should be detected correctly using compile_commands.jso
AssertLSPProject ale#path#Simplify(g:dir . '/cquery_paths')
Execute(The project root should be detected correctly using .cquery file):
+ call ale#test#SetFilename(tempname() . '/dummy.cpp')
+
AssertLSPProject ''
call ale#test#SetFilename('cquery_paths/with_cquery/dummy.cpp')