diff options
author | William Carroll <wpcarro@gmail.com> | 2021-10-08T02·04-0700 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2021-10-08T02·04-0700 |
commit | a8a8cb9a250e12ec79b24d3f9c46c17f2a4c185e (patch) | |
tree | ac6c103ec624de1b7acec9a0dca0468e3533dc9b /emacs/.emacs.d/wpc/irc.el | |
parent | 18bfbca380cf5feef60ae5ab9a128cdfac731c2b (diff) |
Remove tests from irc.el
A couple thoughts: - Generally, unit tests aren't worth keeping in the same file as the library - Specifically, *these* unit tests aren't worth keeping
Diffstat (limited to 'emacs/.emacs.d/wpc/irc.el')
-rw-r--r-- | emacs/.emacs.d/wpc/irc.el | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/emacs/.emacs.d/wpc/irc.el b/emacs/.emacs.d/wpc/irc.el index 1a9120456530..08e4d1eb152c 100644 --- a/emacs/.emacs.d/wpc/irc.el +++ b/emacs/.emacs.d/wpc/irc.el @@ -30,8 +30,6 @@ ;; Configuration ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(defconst irc-enable-tests? t - "When t, run the tests defined herein.") (setq erc-rename-buffers t) @@ -171,13 +169,5 @@ ;; Tests ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(when irc-enable-tests? - (prelude-assert - (equal - (irc-channel->server `(("irc.dairy.com" . ,(cycle-new "#cheese" "#milk")) - ("irc.color.com" . ,(cycle-new "#red" "#blue"))) - "#cheese") - "irc.dairy.com"))) - (provide 'irc) ;;; irc.el ends here |