Skip to content

Commit

Permalink
Refactor testcase after review
Browse files Browse the repository at this point in the history
  • Loading branch information
matsl committed Dec 29, 2024
1 parent 458acef commit 853470d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/hywiki-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))))

Expand Down

0 comments on commit 853470d

Please sign in to comment.