add set_global, update unit test

This commit is contained in:
ktm
2016-01-17 00:01:51 -05:00
parent ad3f111e13
commit 43def57852
3 changed files with 50 additions and 15 deletions

View File

@@ -8,3 +8,17 @@ def myFun()
}
myFun();
def myFun2()
{
assert_equal(j, 7)
}
set_global(7, "j")
myFun2();
set_global(5, "j")
myFun();