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

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

[elpa] externals/yaml c81f87f0fd 080/124: fix unit test


From: ELPA Syncer
Subject: [elpa] externals/yaml c81f87f0fd 080/124: fix unit test
Date: Fri, 29 Nov 2024 16:00:04 -0500 (EST)

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

    fix unit test
---
 yaml-tests.el | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/yaml-tests.el b/yaml-tests.el
index 2e323be7da..9396dd7b32 100644
--- a/yaml-tests.el
+++ b/yaml-tests.el
@@ -546,14 +546,12 @@ keep: |+
   (should (equal
            (yaml-encode `((deeper . [((foo . bar) (baz . bax))])))
            "\ndeeper: \n- foo: bar\n  baz: bax"))
-  (should (equal
-           (equal (yaml-parse-string
-                   (yaml-encode [1 [2 [3] 2] 1])
-                   :object-type 'alist
-                   :sequence-type 'array)
-                  [[1 [2 [3] 2] 1]])))
-  (should (equal
-           (yaml-test-round-trip `[1 [2 [[4 4 4] 3 ((a . 1) (b . 2) (c . 3)) 
3] 2] 1])))
+  (should (equal (yaml-parse-string
+                  (yaml-encode [1 [2 [3] 2] 1])
+                  :object-type 'alist
+                  :sequence-type 'array)
+                 [1 [2 [3] 2] 1]))
+  (should (yaml-test-round-trip `[1 [2 [[4 4 4] 3 ((a . 1) (b . 2) (c . 3)) 3] 
2] 1]))
   (should (yaml-test-round-trip
            '((build_the_package (script . "if [ -z \"${CUSTOM}\" ]; then
   ./mvnw package



reply via email to

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