aboutsummaryrefslogtreecommitdiffstats
path: root/tests/templates/toml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/templates/toml')
-rw-r--r--tests/templates/toml/all_strings.toml6
-rw-r--r--tests/templates/toml/default.toml7
-rw-r--r--tests/templates/toml/invalid.toml1
3 files changed, 14 insertions, 0 deletions
diff --git a/tests/templates/toml/all_strings.toml b/tests/templates/toml/all_strings.toml
new file mode 100644
index 0000000..8fda0d8
--- /dev/null
+++ b/tests/templates/toml/all_strings.toml
@@ -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/toml/default.toml b/tests/templates/toml/default.toml
new file mode 100644
index 0000000..e0437cf
--- /dev/null
+++ b/tests/templates/toml/default.toml
@@ -0,0 +1,7 @@
+[header_one]
+number_key = 0
+
+[header_two]
+# preserves comments
+str_key = "string"
+list_key = [1, 2, 3]
diff --git a/tests/templates/toml/invalid.toml b/tests/templates/toml/invalid.toml
new file mode 100644
index 0000000..d1b18e3
--- /dev/null
+++ b/tests/templates/toml/invalid.toml
@@ -0,0 +1 @@
+[[[[[[notvalidtoml]]]]]] \ No newline at end of file