aboutsummaryrefslogtreecommitdiffstats
path: root/tests/templates/yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/templates/yaml')
-rw-r--r--tests/templates/yaml/all_strings.yaml6
-rw-r--r--tests/templates/yaml/default.yaml7
-rw-r--r--tests/templates/yaml/invalid.yaml6
3 files changed, 19 insertions, 0 deletions
diff --git a/tests/templates/yaml/all_strings.yaml b/tests/templates/yaml/all_strings.yaml
new file mode 100644
index 0000000..1c94b37
--- /dev/null
+++ b/tests/templates/yaml/all_strings.yaml
@@ -0,0 +1,6 @@
+header:
+ list: "[]"
+ dict: "{}"
+ num: "5"
+ bool: "false"
+ float: "5.5" \ No newline at end of file
diff --git a/tests/templates/yaml/default.yaml b/tests/templates/yaml/default.yaml
new file mode 100644
index 0000000..8c7c63e
--- /dev/null
+++ b/tests/templates/yaml/default.yaml
@@ -0,0 +1,7 @@
+header_one:
+ number_key: 0
+
+header_two:
+ # preserves comments
+ list_key: [1, 2, 3]
+ str_key: string
diff --git a/tests/templates/yaml/invalid.yaml b/tests/templates/yaml/invalid.yaml
new file mode 100644
index 0000000..cf2a4ff
--- /dev/null
+++ b/tests/templates/yaml/invalid.yaml
@@ -0,0 +1,6 @@
+invalid-yaml:
+yar:
+i:
+am:
+invalid:
+boo \ No newline at end of file