]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid emacs-module-tests failure on macOS
authorMattias Engdegård <mattiase@acm.org>
Wed, 16 Feb 2022 11:26:30 +0000 (12:26 +0100)
committerMattias Engdegård <mattiase@acm.org>
Wed, 16 Feb 2022 11:33:35 +0000 (12:33 +0100)
* test/src/emacs-module-tests.el (module/describe-function-1):
Prevent string mismatch caused by line breaks after filling;
the macOS dynamic library suffix (.dylib) is longer than on other
platforms.

test/src/emacs-module-tests.el

index 2ff33644a8e5b31fc6d14d0b0c08934ed0ef3054..ec83f91f003bd1da60d4a44b0eed6c88183c2c26 100644 (file)
@@ -308,7 +308,8 @@ local reference."
   "Check that Bug#30163 is fixed."
   (with-temp-buffer
     (let ((standard-output (current-buffer))
-          (text-quoting-style 'grave))
+          (text-quoting-style 'grave)
+          (fill-column 200))            ; prevent line breaks when filling
       (describe-function-1 #'mod-test-sum)
       (goto-char (point-min))
       (while (re-search-forward "`[^']*/src/emacs-module-resources/" nil t)