summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2022-06-11 15:15:54 +0530
committerAndinus <andinus@nand.sh>2022-06-11 15:15:54 +0530
commit7b24df0be78fb9ba59e7ef4c6d7210530a19e98b (patch)
tree36ee56368e73b8a1db99af8c19fbf73959abe8a6
parentb8232fbcbaf0d83e7317b351f0235c451f038ff1 (diff)
downloadcrater-7b24df0be78fb9ba59e7ef4c6d7210530a19e98b.tar.gz
Add basic test for templates
-rw-r--r--t/00-webapp-template.rakutest6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/00-webapp-template.rakutest b/t/00-webapp-template.rakutest
new file mode 100644
index 0000000..e499fd4
--- /dev/null
+++ b/t/00-webapp-template.rakutest
@@ -0,0 +1,6 @@
+use Test;
+use Cro::WebApp::Template;
+
+lives-ok { template-location 'templates/', :compile-all }, "All templates have valid syntax";
+
+done-testing;