[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 3cac9738b6 22/82: Change: (-deftest) Don't rebi
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 3cac9738b6 22/82: Change: (-deftest) Don't rebind hyperdrive--url-hexify-string |
Date: |
Mon, 25 Sep 2023 19:00:51 -0400 (EDT) |
branch: elpa/hyperdrive
commit 3cac9738b65ee7820e5f686875fa75f05ebb1d7d
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Change: (-deftest) Don't rebind hyperdrive--url-hexify-string
---
tests/test-hyperdrive.el | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/tests/test-hyperdrive.el b/tests/test-hyperdrive.el
index ad3753220b..d10ff57386 100644
--- a/tests/test-hyperdrive.el
+++ b/tests/test-hyperdrive.el
@@ -51,8 +51,7 @@
(declare (indent defun))
(let ((name (intern (concat "hyperdrive-" (symbol-name name)))))
`(cl-macrolet ((make-url
- (&rest args) `(concat "hyper://"
test-hyperdrive-public-key ,@args))
- (hexify (string) `(hyperdrive--url-hexify-string ,string)))
+ (&rest args) `(concat "hyper://"
test-hyperdrive-public-key ,@args)))
(ert-deftest ,name () ,@args))))
;;;; Tests
@@ -72,7 +71,7 @@
(should (equal path "/name-without-spaces")))
;; TODO: Consider testing unhexified filename in URL.
(pcase-let (((cl-struct hyperdrive-entry name path)
- (hyperdrive-url-entry (make-url (hexify "/name with spaces")))))
+ (hyperdrive-url-entry (make-url (hyperdrive--url-hexify-string
"/name with spaces")))))
(should (equal name "name with spaces"))
(should (equal path "/name with spaces")))
(pcase-let (((cl-struct hyperdrive-entry name path)
@@ -113,7 +112,7 @@
(hyperdrive-deftest url-entry--makes-hyperdrive ()
(pcase-let* (((cl-struct hyperdrive-entry hyperdrive)
- (hyperdrive-url-entry (make-url (hexify "/subdir/with-file"))))
+ (hyperdrive-url-entry (make-url (hyperdrive--url-hexify-string
"/subdir/with-file"))))
((cl-struct hyperdrive public-key) hyperdrive))
(should (equal public-key test-hyperdrive-public-key))))
- [nongnu] elpa/hyperdrive 4120c3a4d5 01/82: Tidy: Variable name, (continued)
- [nongnu] elpa/hyperdrive 4120c3a4d5 01/82: Tidy: Variable name, ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive a1901daab3 05/82: WIP, ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive c04e0080df 07/82: Tidy: Rename function to hyperdrive-entry-equal-p, ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive c536bc9a2c 11/82: WIP, ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive e0f7cee105 13/82: WIP: Add test-hyperdrive-org-link.el, ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive de2e028534 12/82: Docs: Clarify link types, ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive eb84b2d2f5 16/82: Change: (hyperdrive-entry-create) Remove ENCODE argument, ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive b2fe51ba3b 02/82: Comment: Add TODO, ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive c740135a62 19/82: Change: (hyperdrive-org-link-full-url) Docstring, ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive 81e01fcdc8 20/82: Fix: (hyperdrive--format-entry-url) Encode ?/ in URL fragment, ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive 3cac9738b6 22/82: Change: (-deftest) Don't rebind hyperdrive--url-hexify-string,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive eef4f80848 23/82: Change: (hyperdrive-test-org-link tests) Change "file" to "path", ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive 5709167d98 24/82: Test: different-drive-same-path-*, ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive 9f102bdf44 29/82: Change: (hyperdrive--org-normalize-link) Assert current entry, ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive 06ca835d69 32/82: Tidy: (hyperdrive--org-normalize-link) Add blank spaces, ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive 341f145411 33/82: Add: (hyperdrive--ensure-dot-slash-prefix-path), ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive 696908c87f 35/82: Change: (--org-normalize-link) Remove hyperdrive-entry-equal-p check, ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive 82f8b9d502 37/82: Fix: (--org-normalize-link) Use current entry, not target entry, ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive 2a611e471f 42/82: Change: (--org-normalize-link) Add search-option to path link, ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive 9fd2272ec1 47/82: Change: (--org-shorthand-link) Don't handle full "hyper://" URLs, ELPA Syncer, 2023/09/25
- [nongnu] elpa/hyperdrive a7bfbf8dee 38/82: Test: -org-link/same-drive-different-path-before-heading, ELPA Syncer, 2023/09/25