Patch project-vc-recognizes-git test for Debian build
authorSean Whitton <spwhitton@spwhitton.name>
Mon, 31 Jul 2023 08:26:48 +0000 (09:26 +0100)
committerSean Whitton <spwhitton@spwhitton.name>
Mon, 24 Feb 2025 07:39:09 +0000 (15:39 +0800)
test/lisp/progmodes/project-tests.el

index cbc0bd1e8b92cb819c1640606dd3af81517d8c5e..2933166cf7a7ff844426589f95241bc4b9083d87 100644 (file)
@@ -124,7 +124,7 @@ When `project-ignores' includes a name matching project dir."
          (project (project-current nil dir)))
     (should-not (null project))
     (should (string-match-p
-             "\\`test/lisp/progmodes/project-tests\\.elc?"
+             "\\`debian/build-[a-z]+/test/lisp/progmodes/project-tests\\.elc?"
              (file-relative-name
               project-tests--this-file
               (project-root project))))))