summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2020-10-28 11:52:26 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2020-10-28 11:52:26 +0100
commit1dee2ede32b1fcf47640cfc24e26e04e533146c0 (patch)
tree6aeaec2eb59e1b1f931792dec570d97662d77cb9 /tests/data
parent68e43fd418e800700f71cf6cde9a413259d5a486 (diff)
Improve round trip loading of yaml files
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml b/tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml
new file mode 100644
index 0000000..874833e
--- /dev/null
+++ b/tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml
@@ -0,0 +1,15 @@
+# This entry has a comment at the beginning
+name: 'A commented entry'
+# ruamel.yaml does not support preserving indent levels, so please leave the
+# description indented by two spaces.
+description: |
+ An entry with comments in the yaml data
+position: 'there'
+# There is a comment above something
+something:
+tags: []
+keywords: []
+exists: true
+with_default: default value
+amount: 1
+# and a comment at the end