From bc84c31823e424827a27dc2eb1b5cbee040036cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Wed, 16 Feb 2022 12:26:30 +0100 Subject: [PATCH] Avoid emacs-module-tests failure on macOS * 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/src/emacs-module-tests.el b/test/src/emacs-module-tests.el index 2ff33644a8e..ec83f91f003 100644 --- a/test/src/emacs-module-tests.el +++ b/test/src/emacs-module-tests.el @@ -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) -- 2.39.5