refactor(wpcarro/emacs): Remove cycle.el's dep on maybe.el

More pruning on inter-library dependencies.

Change-Id: I711ab92f2985b543ee2684752f9cdbf5559f2eaf
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6035
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
This commit is contained in:
William Carroll 2022-08-02 14:20:46 -07:00 committed by clbot
parent 3461753478
commit db0cfd0616
3 changed files with 6 additions and 14 deletions

View file

@ -5,7 +5,6 @@
(require 'ert)
(require 'cycle)
(require 'dash)
(require 'maybe)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Tests
@ -15,7 +14,7 @@
(ert-deftest cycle-initializes-properly ()
(should (= 3 (cycle-count xs)))
(should (maybe-nil? (cycle-previous-focus xs)))
(should (null (cycle-previous-focus xs)))
(should (cycle-contains? 1 xs))
(should (cycle-contains? 2 xs))
(should (cycle-contains? 3 xs)))