aboutsummaryrefslogtreecommitdiffstats
path: root/tests/templates
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-07-29 21:27:18 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2020-07-29 21:27:18 -0500
commitdf90fd036d004c79f340e4c1d01b2171add80047 (patch)
tree0023a4bb091cbad6d4a80d9fda341ab0605e7b2e /tests/templates
parentMove IniParserCompatibility to new file (diff)
downloadconfig-file-df90fd036d004c79f340e4c1d01b2171add80047.zip
Fix tests for recent changes
Diffstat (limited to 'tests/templates')
-rw-r--r--tests/templates/json/glossary.json4
-rw-r--r--tests/templates/toml/default.toml1
-rw-r--r--tests/templates/yaml/default.yaml5
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/templates/json/glossary.json b/tests/templates/json/glossary.json
index 189d8a4..d27eb8d 100644
--- a/tests/templates/json/glossary.json
+++ b/tests/templates/json/glossary.json
@@ -26,9 +26,7 @@
"str_number": "16",
"another_dict": {
"str_bool": "false",
- "list_of_values": [
- "5", "false", "trUe"
- ]
+ "list_of_values": ["5", "false", "trUe"]
}
}
}
diff --git a/tests/templates/toml/default.toml b/tests/templates/toml/default.toml
index 326de33..e0437cf 100644
--- a/tests/templates/toml/default.toml
+++ b/tests/templates/toml/default.toml
@@ -2,5 +2,6 @@
number_key = 0
[header_two]
+# preserves comments
str_key = "string"
list_key = [1, 2, 3]
diff --git a/tests/templates/yaml/default.yaml b/tests/templates/yaml/default.yaml
index 095ada8..8c7c63e 100644
--- a/tests/templates/yaml/default.yaml
+++ b/tests/templates/yaml/default.yaml
@@ -2,5 +2,6 @@ header_one:
number_key: 0
header_two:
- str_key: "string"
- list_key: [1, 2, 3] \ No newline at end of file
+ # preserves comments
+ list_key: [1, 2, 3]
+ str_key: string