about summary refs log tree commit diff
path: root/users/wpcarro/emacs/.emacs.d/wpc
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2021-10-29T23·06-0700
committerclbot <clbot@tvl.fyi>2022-01-08T06·06+0000
commit51a8faad74016ab7d2f29418caa9fd9984be93a9 (patch)
treec9d6d2a96dddddc5d36934c217621fd7d2496622 /users/wpcarro/emacs/.emacs.d/wpc
parent33e3f2f66aff4f2dc33986559b0c0c4516118c91 (diff)
chore(wpcarro/emacs): Remove tests from buffer.el r/3559
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>
Diffstat (limited to 'users/wpcarro/emacs/.emacs.d/wpc')
-rw-r--r--users/wpcarro/emacs/.emacs.d/wpc/buffer.el21
1 files changed, 0 insertions, 21 deletions
diff --git a/users/wpcarro/emacs/.emacs.d/wpc/buffer.el b/users/wpcarro/emacs/.emacs.d/wpc/buffer.el
index 098d499e39d3..d9503e0d1faa 100644
--- a/users/wpcarro/emacs/.emacs.d/wpc/buffer.el
+++ b/users/wpcarro/emacs/.emacs.d/wpc/buffer.el
@@ -38,9 +38,6 @@
 ;; Library
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
-(defconst buffer-enable-tests? t
-  "When t, run the test suite.")
-
 (defconst buffer-install-kbds? t
   "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
    "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)
 ;;; buffer.el ends here