From c9e406819bf4e4e5752950631af36e47476eea61 Mon Sep 17 00:00:00 2001 From: Psionik K <73710933+psionic-k@users.noreply.github.com> Date: Mon, 30 Oct 2023 00:40:02 +0900 Subject: [PATCH] fixup some test names and a duplicate test Signed-off-by: Psionik K <73710933+psionic-k@users.noreply.github.com> --- test/erk-test.el | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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)))