diff options
Diffstat (limited to 'testes')
-rw-r--r-- | testes/db.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testes/db.lua b/testes/db.lua index 5377f6ec..fdb0da4a 100644 --- a/testes/db.lua +++ b/testes/db.lua | |||
@@ -119,6 +119,16 @@ else | |||
119 | end | 119 | end |
120 | ]], {2,3,4,7}) | 120 | ]], {2,3,4,7}) |
121 | 121 | ||
122 | test([[ | ||
123 | local function foo() | ||
124 | end | ||
125 | foo() | ||
126 | A = 1 | ||
127 | A = 2 | ||
128 | A = 3 | ||
129 | ]], {2, 3, 2, 4, 5, 6}) | ||
130 | |||
131 | |||
122 | test([[-- | 132 | test([[-- |
123 | if nil then | 133 | if nil then |
124 | a=1 | 134 | a=1 |