Fixing issue 152

This commit is contained in:
Artem Serebriyskiy 2014-03-23 14:05:05 +04:00
commit f2c410a8c0
2 changed files with 5 additions and 5 deletions

View file

@ -73,3 +73,6 @@ f.func_ptr=func1_ptr
assert(cb.test_func_ptr(f,2)==16)
f.func_ptr=func2_ptr
assert(cb.test_func_ptr(f,2)==-8)
-- Test that __tostring metamethod produce no internal asserts
f2_name = tostring(f2)