From c868a737e41b76a6c47b1e3101a29f7eb7cc8563 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Mon, 14 Aug 2023 16:53:13 +0200 Subject: [PATCH] ; * test/lisp/dired-tests.el (dired-test-bug27243-03): fix unwind --- test/lisp/dired-tests.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/lisp/dired-tests.el b/test/lisp/dired-tests.el index 0701b229edd..8f2b9af09c0 100644 --- a/test/lisp/dired-tests.el +++ b/test/lisp/dired-tests.el @@ -241,12 +241,12 @@ (let ((buffers (find-file (concat (file-name-as-directory test-dir) "*") t))) + (setq allbufs (append buffers allbufs)) (dolist (buf buffers) (let ((pt (with-current-buffer buf (point)))) (switch-to-buffer (find-file-noselect test-dir)) (find-file (buffer-name buf)) - (should (equal (point) pt)))) - (append buffers allbufs))) + (should (equal (point) pt)))))) (dolist (buf allbufs) (when (buffer-live-p buf) (kill-buffer buf))))))) -- 2.39.2