summary refs log tree commit diff stats
path: root/test/test_bootstrap.lua
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2024-05-29 23:00:53 -0300
committerSoniEx2 <endermoneymod@gmail.com>2024-05-29 23:00:53 -0300
commit5eecbd6ef771a54b455d96f4033212062d7c3f8f (patch)
tree9fef3d210df849e82baa763b8b2b885c4806ca96 /test/test_bootstrap.lua
parentbbb9f04eecc66a9e8e208cc4abc0466697807765 (diff)
Implement cratera bootstrap
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"