Add ability to provide global consts in Module objects. Issue #14
This commit is contained in:
parent
95c6131ce7
commit
0293762904
7
unittests/global_const_in_module.chai
Normal file
7
unittests/global_const_in_module.chai
Normal file
@ -0,0 +1,7 @@
|
||||
load_module("test_module")
|
||||
|
||||
|
||||
assert_equal(to_int(TestValue1), 1)
|
||||
|
||||
assert_equal(TestValue1.type_name(), "TestEnum")
|
||||
|
Loading…
x
Reference in New Issue
Block a user