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