[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master bc84c31823 1/2: Avoid emacs-module-tests failure on macOS
From: |
Mattias Engdegård |
Subject: |
master bc84c31823 1/2: Avoid emacs-module-tests failure on macOS |
Date: |
Wed, 16 Feb 2022 06:34:05 -0500 (EST) |
branch: master
commit bc84c31823e424827a27dc2eb1b5cbee040036cf
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
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 2ff33644a8..ec83f91f00 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)