Пересобранный и видоизмененный conky для ОСГОС
This commit is contained in:
commit
3a48cf8c86
738 changed files with 217718 additions and 0 deletions
14
3rdparty/toluapp/src/tests/tnamespace.lua
vendored
Normal file
14
3rdparty/toluapp/src/tests/tnamespace.lua
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
-- test valid access
|
||||
assert(A.a==1)
|
||||
assert(A.B.b==2)
|
||||
assert(A.B.C.c==3)
|
||||
|
||||
-- test invalid access
|
||||
assert(A.B.a==nil) -- no inheritance
|
||||
assert(A.B.C.a==nil)
|
||||
|
||||
assert(A.b==nil) -- no access the inner module
|
||||
assert(A.c==nil)
|
||||
assert(A.B.c==nil)
|
||||
|
||||
print("Namespace test OK")
|
||||
Loading…
Add table
Add a link
Reference in a new issue