branch: externals/yaml commit c81f87f0fd8a8ae8df04f66ac4c179c8e9dbe75b Author: Zachary Romero <zacrom...@posteo.net> Commit: Zachary Romero <zacrom...@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