1
0
Fork 0
emacs-config/test/oni-bats-test.el

7 lines
265 B
EmacsLisp
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(ert-deftest oni-bats-test-auto-insert ()
"Test that auto-insert inserts the proper interpreter."
(with-temp-buffer
(bats-mode)
(let ((auto-insert-query nil))
(auto-insert))
(should (string= "#!/usr/bin/env bats\n\n" (buffer-string)))))