blob: 7414dc478b79e84fa2559011652229f01b8e226c (
plain)
1
2
3
4
5
6
7
|
(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)))))
|