diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-25 23:14:35 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-25 23:14:35 +0800 |
commit | 26732327848c0eaa8dd76abbd127d4a7a5a12121 (patch) | |
tree | f7d60b5e2137288c471025b530a859638f01f221 /test/diagnostics | |
parent | 3783510c5b2e7288035d95dd6109eeeeb6435f6d (diff) | |
download | lua-language-server-26732327848c0eaa8dd76abbd127d4a7a5a12121.zip |
fix #1365
Diffstat (limited to 'test/diagnostics')
-rw-r--r-- | test/diagnostics/common.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua index 05656db5..9d337e53 100644 --- a/test/diagnostics/common.lua +++ b/test/diagnostics/common.lua @@ -1087,6 +1087,18 @@ end ]] TEST [[ +for i = <!100, 10, 1!> do + print(i) +end +]] + +TEST [[ +for i = <!1, -10!> do + print(i) +end +]] + +TEST [[ for i = 1, 1 do print(i) end |