diff options
Diffstat (limited to 'server/test/completion')
-rw-r--r-- | server/test/completion/init.lua | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua index c666dd5d..cf827f40 100644 --- a/server/test/completion/init.lua +++ b/server/test/completion/init.lua @@ -155,7 +155,7 @@ t.a@ { label = 'abc', kind = CompletionItemKind.Enum, - detail = 'abc = 1', + detail = '= 1', } } @@ -167,7 +167,19 @@ z@ { label = 'zabc', kind = CompletionItemKind.Variable, - detail = 'zabc = 1', + detail = '= 1', + } +} + +TEST [[ +local zabc = 1.0 +z@ +]] +{ + { + label = 'zabc', + kind = CompletionItemKind.Variable, + detail = '= 1.0', } } @@ -211,4 +223,3 @@ t.@ kind = CompletionItemKind.Field, }, } - |