[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 677ccc02f1 08/16: Tests: Fix test on older Orgs
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 677ccc02f1 08/16: Tests: Fix test on older Orgs |
Date: |
Thu, 28 Sep 2023 19:00:45 -0400 (EDT) |
branch: elpa/hyperdrive
commit 677ccc02f194b355382a4eb87d3d5201d2f007c9
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>
Tests: Fix test on older Orgs
Apparently Org used to put the link in the description as well.
---
tests/test-hyperdrive-org.el | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/tests/test-hyperdrive-org.el b/tests/test-hyperdrive-org.el
index 9f27e22f70..1a8fd336bc 100644
--- a/tests/test-hyperdrive-org.el
+++ b/tests/test-hyperdrive-org.el
@@ -115,7 +115,14 @@ Point is indicated by ★."
(hyperdrive-test-org-store-link content
:public-key public-key :path path)))
(should (string= expected-url got-url))
- (should (string= expected-desc got-desc))))))
+ (should (string= ,(if ;; TODO(deprecate-27): Remove this hack someday.
+ (and (version<= org-version "9.4.4")
+ (equal scenario 'org-mode-before-heading))
+ '(progn
+ (ignore expected-desc)
+ expected-url)
+ 'expected-desc)
+ got-desc))))))
;; TODO: Loop through `hyperdrive-test-org-store-link-scenarios'?
(hyperdrive-test-org-store-link-deftest org-mode-before-heading)
- [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, 2023/09/28
- [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 <=
- [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
- [nongnu] elpa/hyperdrive 2db41e3d24 15/16: Change: (hyperdrive-fill-version-ranges-limit) Increase limit to 100, ELPA Syncer, 2023/09/28
- [nongnu] elpa/hyperdrive 074dc81702 16/16: Meta: Fix NonGNU ELPA conflict, ELPA Syncer, 2023/09/28
- [nongnu] elpa/hyperdrive 1e3d96bdb8 01/16: Meta: Add build status badge for Emacs 29.1, ELPA Syncer, 2023/09/28
- [nongnu] elpa/hyperdrive 56a2ee1219 13/16: Docs: Rename Copying section to Freedom to copy, ELPA Syncer, 2023/09/28