aboutsummaryrefslogtreecommitdiff
path: root/test/tests/valid_snippits/fornumloop.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-03-13 15:38:23 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2017-03-13 15:38:23 -0400
commitf687e914e07094b1eef11d84dab2e069a9298df5 (patch)
treed74600b3afebd028689baa1c306432fac5030f9f /test/tests/valid_snippits/fornumloop.lua
parentf96040eb138efdc8f13521bade5bf8bd299bb9fb (diff)
downloadglum-f687e914e07094b1eef11d84dab2e069a9298df5.tar.gz
glum-f687e914e07094b1eef11d84dab2e069a9298df5.tar.bz2
glum-f687e914e07094b1eef11d84dab2e069a9298df5.zip
Started updateing unit tests
Diffstat (limited to 'test/tests/valid_snippits/fornumloop.lua')
-rw-r--r--test/tests/valid_snippits/fornumloop.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/tests/valid_snippits/fornumloop.lua b/test/tests/valid_snippits/fornumloop.lua
new file mode 100644
index 0000000..19ee201
--- /dev/null
+++ b/test/tests/valid_snippits/fornumloop.lua
@@ -0,0 +1,10 @@
+
+local tbl = {
+ "Alpha",
+ "Beta",
+ "Charlie",
+}
+
+for k = 1,#tbl do
+ print(v)
+end