diff options
Diffstat (limited to 'deep_test/deeptest.lua')
-rw-r--r-- | deep_test/deeptest.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/deep_test/deeptest.lua b/deep_test/deeptest.lua index cbd08de..ec62b1e 100644 --- a/deep_test/deeptest.lua +++ b/deep_test/deeptest.lua | |||
@@ -29,7 +29,7 @@ local printDeep = function( prefix_, obj_, t_) | |||
29 | end | 29 | end |
30 | if t_ then | 30 | if t_ then |
31 | for k, v in pairs( t_) do | 31 | for k, v in pairs( t_) do |
32 | print( k, v) | 32 | print( "t["..tostring(k).."]", v) |
33 | end | 33 | end |
34 | end | 34 | end |
35 | print() | 35 | print() |
@@ -72,6 +72,8 @@ local performTest = function( obj_) | |||
72 | printDeep( "in lane, as arguments:", arg_, t_) | 72 | printDeep( "in lane, as arguments:", arg_, t_) |
73 | -- read contents inside lane: obj_ and t by upvalue | 73 | -- read contents inside lane: obj_ and t by upvalue |
74 | printDeep( "in lane, as upvalues:", obj_, t) | 74 | printDeep( "in lane, as upvalues:", obj_, t) |
75 | -- read contents inside lane: in linda | ||
76 | printDeep( "in lane, from linda:", l:get("key", 2)) | ||
75 | return arg_, t_ | 77 | return arg_, t_ |
76 | end | 78 | end |
77 | ) | 79 | ) |