summaryrefslogtreecommitdiff
path: root/server/test/crossfile
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/crossfile')
-rw-r--r--server/test/crossfile/references.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/crossfile/references.lua b/server/test/crossfile/references.lua
index 07bdf185..4163a321 100644
--- a/server/test/crossfile/references.lua
+++ b/server/test/crossfile/references.lua
@@ -109,7 +109,7 @@ function TEST(data)
compileAll(lsp)
assert(vm)
- local result = core.references(vm, pos, 'reference')
+ local result = core.definition(vm, pos, 'reference')
if expect then
assert(result)
assert(founded(expect, result))