diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-07-05 11:55:59 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-07-05 11:55:59 +0800 |
commit | b1afe6e48fc454fcc767c6a009fa2f59697b38c1 (patch) | |
tree | ad2ef2db8dc7686f4c6eb4554abc1e6c4c4bdcc9 /server/test/diagnostics | |
parent | cc5bf4402fa48b27e9d32651cf7c1825f50b21f9 (diff) | |
download | lua-language-server-b1afe6e48fc454fcc767c6a009fa2f59697b38c1.zip |
加个测试
Diffstat (limited to 'server/test/diagnostics')
-rw-r--r-- | server/test/diagnostics/init.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua index 7884df06..62996054 100644 --- a/server/test/diagnostics/init.lua +++ b/server/test/diagnostics/init.lua @@ -448,3 +448,8 @@ local <const> x = 1 <!x!> = 2 return x ]] + +TEST [[ +local x +x = <!x or 0 + 1!> +]] |