diff options
Diffstat (limited to 'test/diagnostics/init.lua')
-rw-r--r-- | test/diagnostics/init.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua index d95bf380..4ec93acf 100644 --- a/test/diagnostics/init.lua +++ b/test/diagnostics/init.lua @@ -966,3 +966,15 @@ local function f() end f(1) ]] + +TEST [[ +for i = <!10, 1!> do + print(i) +end +]] + +TEST [[ +for i = <!10, 1, 5!> do + print(i) +end +]] |