diff options
Diffstat (limited to 'tests/indent/lua/loop.lua')
| -rw-r--r-- | tests/indent/lua/loop.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/indent/lua/loop.lua b/tests/indent/lua/loop.lua new file mode 100644 index 000000000..7f5402d1e --- /dev/null +++ b/tests/indent/lua/loop.lua @@ -0,0 +1,14 @@ +local x = 1 + +while x < 10 do + x = x + 1 + break +end + +for i = 1,3 do + x = x + i +end + +repeat + x = x + 1 +until x > 100 |
