branch: externals/hyperbole commit 146dc9c2d834813e29e0296c1c1438c4672bbae1 Author: Mats Lidell <mats.lid...@lidells.se> Commit: GitHub <nore...@github.com>
Update test to include Expr output (#770) --- ChangeLog | 5 +++++ test/hactypes-tests.el | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7304c8b023..71e16acc3b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2025-08-07 Mats Lidell <ma...@gnu.org> + +* test/hactypes-tests.el (display-boolean-true-test) + (display-boolean-false-test): Include Expr in verification. + 2025-07-31 Mats Lidell <ma...@gnu.org> * test/kotl-mode-tests.el (kotl-mode--add-cell) diff --git a/test/hactypes-tests.el b/test/hactypes-tests.el index a8ade98c14..a958f23546 100644 --- a/test/hactypes-tests.el +++ b/test/hactypes-tests.el @@ -3,7 +3,7 @@ ;; Author: Mats Lidell <ma...@gnu.org> ;; ;; Orig-Date: 30-Jan-21 at 12:00:00 -;; Last-Mod: 1-Jun-25 at 23:31:35 by Mats Lidell +;; Last-Mod: 5-Aug-25 at 18:13:04 by Mats Lidell ;; ;; SPDX-License-Identifier: GPL-3.0-or-later ;; @@ -27,12 +27,12 @@ (ert-deftest display-boolean-true-test () (ert-with-message-capture cap (should (actypes::display-boolean t)) - (hy-test-helpers:should-last-message "Result = t; Boolean value = True" cap))) + (hy-test-helpers:should-last-message "Result = t; Boolean value = True; Expr = t\n" cap))) (ert-deftest display-boolean-false-test () (ert-with-message-capture cap (should (actypes::display-boolean nil)) - (hy-test-helpers:should-last-message "Result = nil; Boolean value = False" cap))) + (hy-test-helpers:should-last-message "Result = nil; Boolean value = False; Expr = nil\n" cap))) (ert-deftest hactypes-tests--link-to-Info-index-item () "Verify `actypes::link-to-Info-index-item'."