aboutsummaryrefslogtreecommitdiff
path: root/std/tests.pk
diff options
context:
space:
mode:
Diffstat (limited to 'std/tests.pk')
-rw-r--r--std/tests.pk5
1 files changed, 5 insertions, 0 deletions
diff --git a/std/tests.pk b/std/tests.pk
new file mode 100644
index 0000000..8d13a4e
--- /dev/null
+++ b/std/tests.pk
@@ -0,0 +1,5 @@
+## std.tests: Utility macros and functions for testing.
+
+## A macro for runnable examples. Runs them on compilation.
+pub macro examples(body) =
+ ...