diff options
author | 2019-08-25 14:05:05 -0700 | |
---|---|---|
committer | 2019-08-25 14:05:05 -0700 | |
commit | b3123f8d11f68dbd27def9a87f60d56215995e38 (patch) | |
tree | e49227ccb74b6b648f4a215a75ef9c9b33a94a59 /test | |
parent | 8b92d54bafa4d1dd4f3e355614164496500f3f5d (diff) | |
download | emacs-config-b3123f8d11f68dbd27def9a87f60d56215995e38.tar.gz emacs-config-b3123f8d11f68dbd27def9a87f60d56215995e38.zip |
Fix tests for ‘oni-elisp’
Diffstat (limited to 'test')
-rw-r--r-- | test/oni-elisp-test.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/oni-elisp-test.el b/test/oni-elisp-test.el index c1984aa..38e6be3 100644 --- a/test/oni-elisp-test.el +++ b/test/oni-elisp-test.el @@ -26,8 +26,9 @@ (ert-deftest oni-elisp-test-autoloads () "Test that ‘oni-elisp’ gets loaded automatically." - (should (not (featurep 'oni-elisp))) - (require 'elisp-mode) + ;; Since ‘emacs-lisp-mode’ is pre-loaded into Emacs, I can only check if it’s + ;; also been properly loaded. There is never a state where ‘emacs-lisp-mode’ + ;; is not loaded in Emacs. (should (featurep 'oni-elisp))) (provide 'oni-elisp-test) |