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

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

[elpa] externals/yaml c56d47254d 091/124: add unit test


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

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

    add unit test
---
 yaml-tests.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/yaml-tests.el b/yaml-tests.el
index 8b31e851b0..cd5155d537 100644
--- a/yaml-tests.el
+++ b/yaml-tests.el
@@ -386,7 +386,11 @@ ship-to:
 
 " :object-type 'alist
   :object-key-type 'string
-  :string-values t))))
+  :string-values t)))
+  (should (equal (progn
+                   (yaml-parse-string-with-pos "- # Empty\n- abc")
+                   (yaml-parse-string "- # Empty\n- abc"))
+                 [:null "abc"])))
 
 
 (ert-deftest yaml-parsing-completes ()



reply via email to

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