Skip to content

Commit a300e9a

Browse files
committed
Add test
1 parent 5075592 commit a300e9a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bug-hunter-test.el

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@
3838
(should-error
3939
(bug-hunter-hunt nil 'not-defined)))
4040

41+
(ert-deftest bug-hunter-test-interactive ()
42+
(cl-letf (((symbol-function #'y-or-n-p) #'ignore))
43+
(should-error (bug-hunter-hunt
44+
'(((kill-emacs) 0 1))
45+
'interactive))))
46+
4147
(ert-deftest bug-hunter-looong-hunt ()
4248
(let* ((size 30)
4349
(forms (make-list size '((setq dummy 1) 12 90))))

0 commit comments

Comments
 (0)