Add unittest for 'use' feature

This commit is contained in:
Jonathan Turner
2009-08-21 18:26:34 +00:00
parent 1f011f3d5b
commit c539e0b458
3 changed files with 7 additions and 0 deletions

3
unittests/use.chai Normal file
View File

@@ -0,0 +1,3 @@
use("unittests/use.inc")
greet()

3
unittests/use.inc Normal file
View File

@@ -0,0 +1,3 @@
def greet {
print("hello")
}

1
unittests/use.txt Normal file
View File

@@ -0,0 +1 @@
hello