minibuffer

How to write tests in Emacs Lisp?

September 25, 2023
(defun foo ()
    "..."
  "bar")

(ert-deftest foo-test ()
  (should (string= (foo) "bar")))