Skip to content

Commit

Permalink
Fix core tests
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Sep 30, 2015
1 parent f7c7e82 commit 074f425
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/core/core-evilified-state-utest.el
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@
(let ((input (+ (expt 2 25) ?\C-s)))
(should (equal nil (spacemacs//evilify-find-new-event input)))))

(ert-deftest test-evilify-find-new-event--Space-error-return-nil ()
(ert-deftest test-evilify-find-new-event--Space-remap ()
(let ((input 32))
(should (equal nil (spacemacs//evilify-find-new-event input)))))
(should (equal ?' (spacemacs//evilify-find-new-event input)))))

(ert-deftest test-evilify-find-new-event--/-error-not-covered-for-now ()
(ert-deftest test-evilify-find-new-event--/-remap ()
(let ((input ?/))
(should (equal nil (spacemacs//evilify-find-new-event input)))))
(should (equal ?\\ (spacemacs//evilify-find-new-event input)))))

(ert-deftest test-evilify-find-new-event--/-error-return-nil ()
(ert-deftest test-evilify-find-new-event--:-remap ()
(let ((input ?:))
(should (equal nil (spacemacs//evilify-find-new-event input)))))
(should (equal ?| (spacemacs//evilify-find-new-event input)))))

;; ---------------------------------------------------------------------------
;; spacemacs//evilify-sort-keymap
Expand Down

0 comments on commit 074f425

Please sign in to comment.