aboutsummaryrefslogtreecommitdiff
path: root/testes
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testes/locals.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/testes/locals.lua b/testes/locals.lua
index 6151f64d..62a88df5 100644
--- a/testes/locals.lua
+++ b/testes/locals.lua
@@ -187,6 +187,8 @@ do -- constants
187 checkro("y", "local x, y <const>, z = 10, 20, 30; x = 11; y = 12") 187 checkro("y", "local x, y <const>, z = 10, 20, 30; x = 11; y = 12")
188 checkro("x", "local x <const>, y, z <const> = 10, 20, 30; x = 11") 188 checkro("x", "local x <const>, y, z <const> = 10, 20, 30; x = 11")
189 checkro("z", "local x <const>, y, z <const> = 10, 20, 30; y = 10; z = 11") 189 checkro("z", "local x <const>, y, z <const> = 10, 20, 30; y = 10; z = 11")
190 checkro("foo", "local foo <const> = 10; function foo() end")
191 checkro("foo", "local foo <const> = {}; function foo() end")
190 192
191 checkro("z", [[ 193 checkro("z", [[
192 local a, z <const>, b = 10; 194 local a, z <const>, b = 10;