diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2020-10-28 11:52:26 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2020-10-28 11:52:26 +0100 |
commit | 1dee2ede32b1fcf47640cfc24e26e04e533146c0 (patch) | |
tree | 6aeaec2eb59e1b1f931792dec570d97662d77cb9 /tests/data/complex | |
parent | 68e43fd418e800700f71cf6cde9a413259d5a486 (diff) |
Improve round trip loading of yaml files
Diffstat (limited to 'tests/data/complex')
-rw-r--r-- | tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml | 15 |
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 |