From 4fa760ddd08009f7ae420abf564646b407843aab Mon Sep 17 00:00:00 2001 From: Robert Voyer Date: Thu, 17 Feb 2022 08:47:34 -0800 Subject: [PATCH] Fix test compiler warnings --- test/test.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.el b/test/test.el index c1b2d15..2e72016 100644 --- a/test/test.el +++ b/test/test.el @@ -380,11 +380,11 @@ (ert-deftest test-search-directory-returns-directory-not-found-if-dir-does-not-exist () (let ((notes-dir "foo/bar/baz")) (should-error - (actual (mxtodo-searcher-search-directory notes-dir ".md" "^- ?\\[[Xx ]\\]")) + (mxtodo-searcher-search-directory notes-dir ".md" "^- ?\\[[Xx ]\\]") :type 'directory-not-found))) (ert-deftest test-search-directory-returns-path-error-if-dir-param-is-file () (let ((tmp-file (make-temp-file "notes"))) (should-error - (actual (mxtodo-searcher-search-directory tmp-file ".md" "^- ?\\[[Xx ]\\]")) + (mxtodo-searcher-search-directory tmp-file ".md" "^- ?\\[[Xx ]\\]") :type 'path-is-not-a-directory)))