summaryrefslogtreecommitdiff
path: root/test/src/TestLisp.kt
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/TestLisp.kt')
-rw-r--r--test/src/TestLisp.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/src/TestLisp.kt b/test/src/TestLisp.kt
index 7a520fb..5563042 100644
--- a/test/src/TestLisp.kt
+++ b/test/src/TestLisp.kt
@@ -8,6 +8,7 @@ fun main() {
val otherP = LispParser.parse(File(T::class.java.getResource("/test.lisp")!!.file))
val executionContext = LispExecutionContext()
executionContext.setupStandardBindings()
+ executionContext.registerModule("secondary", LispParser.parse(File(T::class.java.getResource("/secondary.lisp")!!.file)))
val bindings = executionContext.genBindings()
executionContext.executeProgram(bindings, otherP)
}