diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-29 13:46:28 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-29 13:46:28 +0800 |
commit | cc33507654fa35640118b13bdd3f19696631980a (patch) | |
tree | 636cad7ea765a4439d9655dcf9cba39f3f68e17c /server/test/diagnostics | |
parent | 9c2843279fb04b75169057c3d81a93ce87ebcf34 (diff) | |
download | lua-language-server-cc33507654fa35640118b13bdd3f19696631980a.zip |
尽量不合并value
Diffstat (limited to 'server/test/diagnostics')
-rw-r--r-- | server/test/diagnostics/init.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua index 4af8f975..c9a8a95d 100644 --- a/server/test/diagnostics/init.lua +++ b/server/test/diagnostics/init.lua @@ -222,3 +222,11 @@ TEST [[ next({}, 1, <!2!>) print(1, 2, 3, 4, 5) ]] + +TEST [[ +local realTostring = tostring +tostring = function () end +tostring(<!1!>) +tostring = realTostring +tostring(1) +]] |