From e380a547a1297469272b9d2a0bb8d8f99fb8320b Mon Sep 17 00:00:00 2001 From: Mats Lidell Date: Sun, 29 Dec 2024 20:06:02 +0100 Subject: [PATCH] Refactor testcase after review --- test/hywiki-tests.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/hywiki-tests.el b/test/hywiki-tests.el index 64132cb4..e04f6f6d 100644 --- a/test/hywiki-tests.el +++ b/test/hywiki-tests.el @@ -687,7 +687,8 @@ Note special meaning of `hywiki-allow-plurals-flag'." (should-error (hywiki-add-bookmark "WikiWord"))) (bookmark-set "bookmark") (with-simulated-input "bookmark RET" - (should (equal '(bookmark . "bookmark") (hywiki-add-bookmark "WikiWord"))))) + (hywiki-add-bookmark "WikiWord") + (should (equal '(bookmark . "bookmark") (hywiki-get-referent "WikiWord"))))) (hy-delete-file-and-buffer file) (hy-delete-dir-and-buffer hywiki-directory))))