chore(wpcarro/emacs): Remove tests from buffer.el

More cleaning...

Change-Id: I4ff450879f0cda9b3a8e8dab61519a4d8c342c91
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4800
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
This commit is contained in:
William Carroll 2021-10-29 16:06:32 -07:00 committed by clbot
parent 33e3f2f66a
commit 51a8faad74

View file

@ -38,9 +38,6 @@
;; Library ;; Library
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defconst buffer-enable-tests? t
"When t, run the test suite.")
(defconst buffer-install-kbds? t (defconst buffer-install-kbds? t
"When t, install the keybindings defined herein.") "When t, install the keybindings defined herein.")
@ -187,23 +184,5 @@ This function ignores Emacs-generated buffers, i.e. the ones that look like
"<SPC>" #'buffer-show-previous "<SPC>" #'buffer-show-previous
"k" #'kill-buffer)) "k" #'kill-buffer))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Tests
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(when buffer-enable-tests?
(prelude-assert
(list-all? #'buffer-emacs-generated?
'("*scratch*"
"*Messages*"
"*shell*"
"*Shell Command Output*"
"*Occur*"
"*Warnings*"
"*Help*"
"*Completions*"
"*Apropos*"
"*info*"))))
(provide 'buffer) (provide 'buffer)
;;; buffer.el ends here ;;; buffer.el ends here