branch: externals/yaml
commit b6091cc080c769f20cfc429ec5c708caa79280f0
Author: Zachary Romero <[email protected]>
Commit: Zachary Romero <[email protected]>
add unit test case
---
yaml-tests.el | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/yaml-tests.el b/yaml-tests.el
index 739dfec945..6993986b7c 100644
--- a/yaml-tests.el
+++ b/yaml-tests.el
@@ -549,7 +549,15 @@ keep: |+
(should (yaml-test-round-trip
'((build_the_package (script . "if [ -z \"${CUSTOM}\" ]; then
./mvnw package
-fi") (stage . "build"))))))
+fi") (stage . "build")))))
+ (should (yaml-test-round-trip
+ `((deeper . [((foo . bar) (baz . bax))
+ ((foo . bar) (baz . bax) (bee . bop))])
+ (lower . [((foo . bar) (baz . bax))
+ ((foo . [((foo . bar) (baz . bax))
+ ((foo . bar) (baz . bax) (bee . bop))])
+ (baz . bax)
+ (bee . bop))])))))
(provide 'yaml-tests)