diff --git a/test/erk-test.el b/test/erk-test.el index 45b32e5..933d971 100644 --- a/test/erk-test.el +++ b/test/erk-test.el @@ -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 () @@ -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)))