Skip to content

Commit

Permalink
fixup some test names and a duplicate test
Browse files Browse the repository at this point in the history
Signed-off-by: Psionik K <[email protected]>
  • Loading branch information
psionic-k committed Oct 29, 2023
1 parent 6b6650b commit f22ffd2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions test/erk-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@
(should (string= (car (erk--expand-filenames '("%s-foo.el") "doo"))
"doo-foo.el")))

(ert-deftest erk--lisp-directory ()
(ert-deftest erk--lisp-directory-test ()
(should (not (string-match-p "test" (erk--lisp-directory))))
(should (string-match-p "lisp" (erk--lisp-directory))))

(ert-deftest erk--test-directory ()
(should (not (string-match-p "lisp" (erk--test-directory))))
(ert-deftest erk--test-directory-test ()
(should (not (string-match-p "lisp/?$" (erk--test-directory))))
(should (string-match-p "test" (erk--test-directory))))

(ert-deftest erk-jump-features-test ()
Expand All @@ -112,9 +112,6 @@
(erk-jump-features)
(string-match-p "lisp" default-directory))))

(ert-deftest erk--test-directory ()
(should (erk--test-directory)))

(ert-deftest erk--project-elisp-dir-test ()
(should (erk--project-elisp-dir)))

Expand Down

0 comments on commit f22ffd2

Please sign in to comment.