Skip to content

Commit

Permalink
Add smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Nov 28, 2016
1 parent 2af3715 commit 4008d40
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/unit-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -418,3 +418,9 @@ backquote forms."
(elisp-refs-symbol 'format-message)
(should
(equal (buffer-name) "*refs: format-message*")))

(ert-deftest elisp-refs-function-prefix ()
"Smoke test for searching with a path prefix."
(elisp-refs-function 'format-message "/usr/share/emacs")
(should
(equal (buffer-name) "*refs: format-message*")))

0 comments on commit 4008d40

Please sign in to comment.