diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-07-01 22:08:45 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-07-01 22:08:45 -0400 |
| commit | 774b296d3e49b8be3b0feaee8b5d3154fcec73b6 (patch) | |
| tree | e076254b6332c177dc34b4d87bc222f52ca49646 /test/tests/string.lua | |
| download | glum-774b296d3e49b8be3b0feaee8b5d3154fcec73b6.tar.gz glum-774b296d3e49b8be3b0feaee8b5d3154fcec73b6.tar.bz2 glum-774b296d3e49b8be3b0feaee8b5d3154fcec73b6.zip | |
Initial commit
Diffstat (limited to 'test/tests/string.lua')
| -rw-r--r-- | test/tests/string.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/tests/string.lua b/test/tests/string.lua new file mode 100644 index 0000000..769d528 --- /dev/null +++ b/test/tests/string.lua @@ -0,0 +1,8 @@ +local string = "what" + +local tbl = {} +local tbl2 = {} + +tbl[string] = 10 +tbl2.what = 10 +assert(tbl.what == tbl2[string],"Not equal") |
