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

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

[elpa] externals/tomelr 6bbe740e52 28/84: test: Test that 'false is also


From: ELPA Syncer
Subject: [elpa] externals/tomelr 6bbe740e52 28/84: test: Test that 'false is also considered as boolean false in TOML
Date: Tue, 3 May 2022 09:58:09 -0400 (EDT)

branch: externals/tomelr
commit 6bbe740e52d40a5d87d62805af3ed89cc16779b9
Author: Kaushal Modi <kaushal.modi@gmail.com>
Commit: Kaushal Modi <kaushal.modi@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

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