summaryrefslogtreecommitdiff
path: root/test/command_callback/test_gopls_command_callback.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/command_callback/test_gopls_command_callback.vader')
-rw-r--r--test/command_callback/test_gopls_command_callback.vader8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/command_callback/test_gopls_command_callback.vader b/test/command_callback/test_gopls_command_callback.vader
index 590d8458..0f1558e9 100644
--- a/test/command_callback/test_gopls_command_callback.vader
+++ b/test/command_callback/test_gopls_command_callback.vader
@@ -24,7 +24,7 @@ Execute(should configure gopls callback executable):
AssertLinter 'boo', ale#Escape('boo')
Execute(should set gopls options):
- call ale#test#SetFilename('go_paths/go1/prj1/file.go')
+ call ale#test#SetFilename('../test-files/go/go1/prj1/file.go')
" let b:ale_completion_enabled = 1
let b:ale_go_gopls_options = ''
@@ -46,9 +46,9 @@ Execute(should support go environment variables):
\ ale#Env('GO111MODULE', 'off') . ale#Escape('gopls') . ' --mode stdio'
Execute(Should return directory for 'go.mod' if found in parent directory):
- call ale#test#SetFilename('../go_files/test.go')
+ call ale#test#SetFilename('../test-files/go/test.go')
- AssertLSPProject ale#path#Simplify(g:dir . '/../go_files')
+ AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/go')
Execute(Should return nearest directory with '.git' if found in parent directory):
call ale#test#SetFilename('test.go')
@@ -60,7 +60,7 @@ Execute(Should return nearest directory with '.git' if found in parent directory
AssertLSPProject g:dir
Execute(Should ignore 'go.mod' and return '.git' dir if modules off):
- call ale#test#SetFilename('../go_files/test.go')
+ call ale#test#SetFilename('../test-files/go/test.go')
let b:ale_go_go111module = 'off'
let b:parent_dir = ale#path#Simplify(g:dir . '/..')