[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 01594b0232 07/16: Tests: Fix on Emacs <28
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 01594b0232 07/16: Tests: Fix on Emacs <28 |
Date: |
Thu, 28 Sep 2023 19:00:45 -0400 (EDT) |
branch: elpa/hyperdrive
commit 01594b0232a5d901302021cf885e5123b36457c9
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>
Tests: Fix on Emacs <28
---
tests/test-hyperdrive-org.el | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/tests/test-hyperdrive-org.el b/tests/test-hyperdrive-org.el
index f386b506b8..9f27e22f70 100644
--- a/tests/test-hyperdrive-org.el
+++ b/tests/test-hyperdrive-org.el
@@ -94,7 +94,11 @@ Point is indicated by ★."
(setq-local hyperdrive-current-entry entry)
(goto-char (point-min))
(search-forward "★")
- (org-store-link nil 'interactive))
+ (org-store-link nil 'interactive)
+ ;; Disable the mode because on Emacs 27, `with-temp-buffer'
+ ;; calls kill-buffer hooks and stuff like that which cause
+ ;; prompting to kill the buffer when running the tests.
+ (hyperdrive-mode -1))
org-stored-links))
(defmacro hyperdrive-test-org-store-link-deftest (scenario)
@@ -137,6 +141,10 @@ Point is indicated by ★."
(setq-local hyperdrive-current-entry (hyperdrive-test-org-entry-create
:public-key public-key :path path))
(org-insert-link nil url desc)
+ ;; Disable the mode because on Emacs 27, `with-temp-buffer'
+ ;; calls kill-buffer hooks and stuff like that which cause
+ ;; prompting to kill the buffer when running the tests.
+ (hyperdrive-mode -1)
(buffer-string))))
(cl-defmacro hyperdrive-test-org-insert-link-deftest (name &key public-key
path results)
- [nongnu] elpa/hyperdrive updated (38a4f74ab6 -> 074dc81702), ELPA Syncer, 2023/09/28
- [nongnu] elpa/hyperdrive f71c199f4f 06/16: Fix: (hyperdrive--kill-buffer-possibly-save) read-multiple-choice, ELPA Syncer, 2023/09/28
- [nongnu] elpa/hyperdrive 01594b0232 07/16: Tests: Fix on Emacs <28,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive 638fb8b2ae 10/16: Docs: Link to NonGNU ELPA hyperdrive page, ELPA Syncer, 2023/09/28
- [nongnu] elpa/hyperdrive cccc75c250 11/16: Docs: Suggest package-refresh-contents before installation, ELPA Syncer, 2023/09/28
- [nongnu] elpa/hyperdrive b2f47f3f67 14/16: Comment: Remove TODO, ELPA Syncer, 2023/09/28
- [nongnu] elpa/hyperdrive 5d710bedb7 02/16: Tidy: Compiler warning, ELPA Syncer, 2023/09/28
- [nongnu] elpa/hyperdrive 677ccc02f1 08/16: Tests: Fix test on older Orgs, ELPA Syncer, 2023/09/28
- [nongnu] elpa/hyperdrive 1951b1a356 12/16: Docs: Document MELPA installation instructions, ELPA Syncer, 2023/09/28
- [nongnu] elpa/hyperdrive 8613211d69 03/16: Tidy: Compilation warning, ELPA Syncer, 2023/09/28
- [nongnu] elpa/hyperdrive 94f74764a6 05/16: Tidy: Imenu compiler warning, ELPA Syncer, 2023/09/28
- [nongnu] elpa/hyperdrive e54c8c9fec 09/16: Meta: Display all build manifest badges, ELPA Syncer, 2023/09/28
- [nongnu] elpa/hyperdrive 5e7af4355b 04/16: Tests: Fix pcase/map bindings on Emacs 27, ELPA Syncer, 2023/09/28