Add some tests for modules
* .gitignore now ignores *.got for *anything* under the tests/ directory * runtests.sh ignores files in the tests/ directory that have the string "test_import_" in them, so they are not run as tests themselves * Add a couple of basic module functionality tests Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
6
tests/modules.npp
Normal file
6
tests/modules.npp
Normal file
@@ -0,0 +1,6 @@
|
||||
import "modules/test_import_directory.npp"
|
||||
import test_import_local
|
||||
|
||||
println(test_import_local.foo)
|
||||
println(test_import_local.bar)
|
||||
println(test_import_local.baz)
|
||||
Reference in New Issue
Block a user