summaryrefslogtreecommitdiff
path: root/test/crossfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/crossfile')
-rw-r--r--test/crossfile/completion.lua2
-rw-r--r--test/crossfile/definition.lua2
-rw-r--r--test/crossfile/diagnostic.lua2
-rw-r--r--test/crossfile/hover.lua2
-rw-r--r--test/crossfile/references.lua2
5 files changed, 5 insertions, 5 deletions
diff --git a/test/crossfile/completion.lua b/test/crossfile/completion.lua
index 640585fa..3ad8c385 100644
--- a/test/crossfile/completion.lua
+++ b/test/crossfile/completion.lua
@@ -69,7 +69,7 @@ function TEST(data)
mainUri = uri
end
files.setText(uri, script)
- files.getState(uri)
+ files.compileState(uri)
end
local _ <close> = function ()
diff --git a/test/crossfile/definition.lua b/test/crossfile/definition.lua
index 7cb76922..b13b57f3 100644
--- a/test/crossfile/definition.lua
+++ b/test/crossfile/definition.lua
@@ -53,7 +53,7 @@ function TEST(datas)
sourceUri = uri
end
files.setText(uri, newScript)
- files.getState(uri)
+ files.compileState(uri)
end
local _ <close> = function ()
diff --git a/test/crossfile/diagnostic.lua b/test/crossfile/diagnostic.lua
index 7df07e6c..e270d3da 100644
--- a/test/crossfile/diagnostic.lua
+++ b/test/crossfile/diagnostic.lua
@@ -47,7 +47,7 @@ function TEST(datas)
end
data.content = newScript
files.setText(uri, newScript)
- files.getState(uri)
+ files.compileState(uri)
end
local _ <close> = function ()
diff --git a/test/crossfile/hover.lua b/test/crossfile/hover.lua
index ba799f49..d47bb41b 100644
--- a/test/crossfile/hover.lua
+++ b/test/crossfile/hover.lua
@@ -44,7 +44,7 @@ function TEST(expect)
local script, list = catch(file.content, '?')
local uri = furi.encode(file.path)
files.setText(uri, script)
- files.getState(uri)
+ files.compileState(uri)
if #list['?'] > 0 then
sourceUri = uri
sourcePos = (list['?'][1][1] + list['?'][1][2]) // 2
diff --git a/test/crossfile/references.lua b/test/crossfile/references.lua
index fd489866..faa9dba9 100644
--- a/test/crossfile/references.lua
+++ b/test/crossfile/references.lua
@@ -74,7 +74,7 @@ function TEST(datas)
sourceUri = uri
end
files.setText(uri, newScript)
- files.getState(uri)
+ files.compileState(uri)
end
local _ <close> = function ()