summary refs log tree commit diff stats
path: root/test/test_bootstrap.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_bootstrap.lua')
-rw-r--r--test/test_bootstrap.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/test_bootstrap.lua b/test/test_bootstrap.lua
new file mode 100644
index 0000000..7edad26
--- /dev/null
+++ b/test/test_bootstrap.lua
@@ -0,0 +1,9 @@
+-- test cratera.bootstrap functions
+
+local bootstrap = require "cratera.bootstrap"
+
+-- loadfile is defined in bootstrap
+assert(bootstrap.loadfile("test/tests.cratera"))
+
+-- bootstrap sets up a loader
+require "crateratests.bootstrap"