summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-15 16:11:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-15 16:11:30 +0800
commit8880b7d63931469c0b7bfb69004f342236ce2811 (patch)
treeb9577858f20755d593ecf08dad5e2cd5e46559db /test
parent6fddbbf0b34729327670ac1687d88b38739e12a9 (diff)
downloadlua-language-server-8880b7d63931469c0b7bfb69004f342236ce2811.zip
cleanup
Diffstat (limited to 'test')
-rw-r--r--test/example/guide.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/example/guide.txt b/test/example/guide.txt
index da8d5c32..cff05faf 100644
--- a/test/example/guide.txt
+++ b/test/example/guide.txt
@@ -586,7 +586,7 @@ end
---@param lines table
---@return integer {name = 'row'}
---@return integer {name = 'col'}
-function m.positionOf(lines, offset)
+function m.rowColOf(lines, offset)
if offset < 1 then
return 0, 0
end
@@ -619,7 +619,7 @@ end
---@param row integer
---@param col integer
---@return integer {name = 'offset'}
-function m.offsetOf(lines, row, col)
+function m.positionOf(lines, row, col)
if row < 1 then
return 0
end