From: Mattias EngdegÄrd Date: Wed, 16 Feb 2022 11:26:30 +0000 (+0100) Subject: Avoid emacs-module-tests failure on macOS X-Git-Tag: emacs-29.0.90~2290 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bc84c31823e424827a27dc2eb1b5cbee040036cf;p=emacs.git 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. --- 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)