emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/yaml b6091cc080 077/124: add unit test case


From: ELPA Syncer
Subject: [elpa] externals/yaml b6091cc080 077/124: add unit test case
Date: Fri, 29 Nov 2024 16:00:03 -0500 (EST)

branch: externals/yaml
commit b6091cc080c769f20cfc429ec5c708caa79280f0
Author: Zachary Romero <zacromero@posteo.net>
Commit: Zachary Romero <zacromero@posteo.net>

    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)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]