Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 322 Bytes
;;; Tests for huskie
(require 'ert)
(require 'huskie)
(ert-deftest huskie/make-log-process ()
"Test the filename safety."
(should (huskie/make-log-process "testlog" "/tmp/filename"))
(should-error (huskie/make-log-process
"testlog" "/tmp/filename ; rm -rf /tmp")))
;;; huskie-tests.el ends here