summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/partial-helper.html3
-rw-r--r--tests/data/partial.html3
-rw-r--r--tests/data/partial.html.out7
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/data/partial-helper.html b/tests/data/partial-helper.html
new file mode 100644
index 0000000..15c86ba
--- /dev/null
+++ b/tests/data/partial-helper.html
@@ -0,0 +1,3 @@
+<p>This is an included partial.</p>
+
+$body$
diff --git a/tests/data/partial.html b/tests/data/partial.html
new file mode 100644
index 0000000..b4d81bb
--- /dev/null
+++ b/tests/data/partial.html
@@ -0,0 +1,3 @@
+<p>This is a file that includes a partial.</p>
+
+$partial("partial-helper.html")$
diff --git a/tests/data/partial.html.out b/tests/data/partial.html.out
new file mode 100644
index 0000000..19f7ed7
--- /dev/null
+++ b/tests/data/partial.html.out
@@ -0,0 +1,7 @@
+<p>This is a file that includes a partial.</p>
+
+<p>This is an included partial.</p>
+
+This is an example.
+
+