Add a test for the autoloading behavior
This commit is contained in:
parent
4e1c886b98
commit
4852752d67
1 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,11 @@
|
||||||
;; -*- no-byte-compile: t; lexical-binding: t; -*-
|
;; -*- no-byte-compile: t; lexical-binding: t; -*-
|
||||||
;;; test/sclang-mode-test.el
|
;;; test/sclang-mode-test.el
|
||||||
|
|
||||||
|
(ert-deftest sclang-autoloaded-functions ()
|
||||||
|
"Some functions should be callable interactively without requiring them"
|
||||||
|
(should (commandp 'sclang-start t))
|
||||||
|
(should (commandp 'sclang-mode t)))
|
||||||
|
|
||||||
(ert-deftest sclang-major-mode-init-test ()
|
(ert-deftest sclang-major-mode-init-test ()
|
||||||
"Loading a file with an scd extension should init sclang-mode"
|
"Loading a file with an scd extension should init sclang-mode"
|
||||||
(find-file "fixtures/super-boring.scd")
|
(find-file "fixtures/super-boring.scd")
|
||||||
|
|
Loading…
Reference in a new issue