summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
Diffstat (limited to 'server/test')
-rw-r--r--server/test/diagnostics/init.lua2
-rw-r--r--server/test/hover/init.lua4
2 files changed, 3 insertions, 3 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua
index 36cfb3c6..5d015dfd 100644
--- a/server/test/diagnostics/init.lua
+++ b/server/test/diagnostics/init.lua
@@ -444,7 +444,7 @@ TEST [[
]]
TEST [[
-local <const> x = 1
+local x <const> = 1
<!x!> = 2
return x
]]
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua
index cafbdc99..a3d56cdf 100644
--- a/server/test/hover/init.lua
+++ b/server/test/hover/init.lua
@@ -817,10 +817,10 @@ local x: any
]]
TEST [[
-local <toclose> <const> <?x?> = 1
+local <?x?> <close> <const> = 1
]]
[[
-local <toclose> <const> x: number = 1
+local x <close> <const>: number = 1
]]
TEST [[