tests/pass/t.lua

Tue, 26 Oct 2010 10:43:56 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 26 Oct 2010 10:43:56 +0100
changeset 57
3e148db7f933
permissions
-rw-r--r--

Add tests/ to the repo

57
3e148db7f933 Add tests/ to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 local a = { two = "two" };
3e148db7f933 Add tests/ to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2 a.one = "one"
3e148db7f933 Add tests/ to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3 local b = "one";
3e148db7f933 Add tests/ to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
4 print(a[b], a.two)

mercurial