From: Dmitry Gutov Date: Thu, 1 Dec 2022 14:38:52 +0000 (+0200) Subject: ; Fix test failure on CI X-Git-Tag: emacs-29.0.90~1395 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=61311d6862;p=emacs.git ; Fix test failure on CI --- diff --git a/test/lisp/progmodes/project-tests.el b/test/lisp/progmodes/project-tests.el index 55f3f499b39..c3b886873d3 100644 --- a/test/lisp/progmodes/project-tests.el +++ b/test/lisp/progmodes/project-tests.el @@ -123,8 +123,8 @@ When `project-ignores' includes a name matching project dir." (project-vc-extra-root-markers nil) (project (project-current nil dir))) (should-not (null project)) - (should (equal - "test/lisp/progmodes/project-tests.el" + (should (string-match-p + "\\`test/lisp/progmodes/project-tests\\.elc?" (file-relative-name project-tests--this-file (project-root project))))))