branch: externals/tomelr
commit 6bbe740e52d40a5d87d62805af3ed89cc16779b9
Author: Kaushal Modi <kaushal.m...@gmail.com>
Commit: Kaushal Modi <kaushal.m...@gmail.com>

    test: Test that 'false is also considered as boolean false in TOML
---
 test/tscalar.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/test/tscalar.el b/test/tscalar.el
index bddb946414..47d38167be 100644
--- a/test/tscalar.el
+++ b/test/tscalar.el
@@ -29,10 +29,12 @@
 (ert-deftest test-scalar-bool ()
   (let ((inp '(((bool1 . t))
                ((bool2 . :false))
-               ((bool3 . "false"))))
+               ((bool3 . 'false))
+               ((bool4 . "false"))))
         (ref '("bool1 = true"
                "bool2 = false"
-               "bool3 = false"))
+               "bool3 = false"
+               "bool4 = false"))
         out)
     (dolist (el inp)
       (push (tomelr-encode el) out))

Reply via email to