summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/emacs-zoom-image-test-fix.patch
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2025-09-30 16:54:14 +0900
committerMaxim Cournoyer <maxim@guixotic.coop>2025-09-30 16:54:14 +0900
commit3dfd671fb70c22c537f9f8cc7ebdc29c2e206661 (patch)
tree5df82c0c77ce45fb414227a95652aed136f07734 /gnu/packages/patches/emacs-zoom-image-test-fix.patch
parentc5348a51cbb55c75e64a972bf55a33f982fb6e90 (diff)
parent83305987401f215100847ad16a51716b8bcc7d7c (diff)
Merge branch 'mesa-updates'
* mesa-updates: (173 commits) tests/pack: Fix rpm tests. gnu: rpm: Restore localstatedir to /var. tests/builders: Avoid races in unpack tests. gnu: friction: Build with ffmpeg-6. gnu: php: Disable the bug65148 and bug46347 flaky tests. gnu: php: Add autoconf to native inputs. gnu: gnome-planner: Some follow-ups. gnu: gnome-planner: Update to 0.14.92. gnu: Remove scrollkeeper dependencies. Revert "gnu: msamr: Update to (git-version 1.1.4 revision commit)." gnu: php: Update to 8.3.26. gnu: php: Run tests in parallel. gnu: php: Improve style. gnu: ungoogled-chromium: Fix build with libxml2@2.14. gnu: kodi: Build with ffmpeg@6. gnu: emacs-next-minimal: Fix test. gnu: vlc: Build with ffmpeg@6. gnu: qtwebengine: Fix build. gnu: python-html5-parser: Fix build. gnu: gnucash: Update to 5.13. ... Change-Id: I61bcbe2de06cb030113c9c51bb7d2aa7d3b187e9
Diffstat (limited to 'gnu/packages/patches/emacs-zoom-image-test-fix.patch')
-rw-r--r--gnu/packages/patches/emacs-zoom-image-test-fix.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/patches/emacs-zoom-image-test-fix.patch b/gnu/packages/patches/emacs-zoom-image-test-fix.patch
new file mode 100644
index 0000000000..b47cc4f800
--- /dev/null
+++ b/gnu/packages/patches/emacs-zoom-image-test-fix.patch
@@ -0,0 +1,25 @@
+From 462a541db904405ede8446c48ba0c71ad41c544d Mon Sep 17 00:00:00 2001
+From: Eli Zaretskii <eliz@gnu.org>
+Date: Thu, 17 Jul 2025 19:34:50 +0300
+Subject: [PATCH] ; * test/lisp/net/shr-tests.el (shr-test/zoom-image): Fix
+ <img> (bug#79041).
+
+---
+ test/lisp/net/shr-tests.el | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/test/lisp/net/shr-tests.el b/test/lisp/net/shr-tests.el
+index 363cd144e8f3..a931d07a1631 100644
+--- a/test/lisp/net/shr-tests.el
++++ b/test/lisp/net/shr-tests.el
+@@ -145,8 +145,8 @@ settings, then once more for each (OPTION . VALUE) pair.")
+ (dolist (alt '(nil "" "nothing to see here"))
+ (with-temp-buffer
+ (ert-info ((format "image with alt=%S" alt))
+- (let ((attrs (if alt (format " alt=\"%s\"" alt) "")))
+- (insert (format "<img src=\"%s\" %s" image-url attrs)))
++ (let ((attrs (if alt (format " alt=\"%s\">" alt) ">")))
++ (insert (format "<img src=\"%s\"%s" image-url attrs)))
+ (cl-letf* (;; Pretend we're a graphical display.
+ ((symbol-function 'display-graphic-p) #'always)
+ ((symbol-function 'url-queue-retrieve)