summaryrefslogtreecommitdiffstats
path: root/test/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/INCLUDES.md29
-rw-r--r--test/fixtures/included.c7
2 files changed, 36 insertions, 0 deletions
diff --git a/test/fixtures/INCLUDES.md b/test/fixtures/INCLUDES.md
new file mode 100644
index 0000000..22e3a61
--- /dev/null
+++ b/test/fixtures/INCLUDES.md
@@ -0,0 +1,29 @@
+# Beautiful chapter
+
+Here is a nice included snippet :
+
+```c
+{{ included.c }}
+```
+
+----
+
+An exercise using includes
+
+```c
+{{ included.c }}
+
+Remove this extra code at the end
+```
+
+```c
+{{ included.c }}
+```
+
+```c
+{{ included.c }}
+
+This validation code is wrong but who cares ?
+```
+
+----
diff --git a/test/fixtures/included.c b/test/fixtures/included.c
new file mode 100644
index 0000000..d9323e3
--- /dev/null
+++ b/test/fixtures/included.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+int main(int argc, char *argv[]) {
+ printf("All is well\n");
+
+ return 0;
+}