[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole 96df2bdb4b 3/4: hywiki-tests--convert-words-t
From: |
ELPA Syncer |
Subject: |
[elpa] externals/hyperbole 96df2bdb4b 3/4: hywiki-tests--convert-words-to-org-link - Remove duplicate test |
Date: |
Wed, 14 Aug 2024 03:58:13 -0400 (EDT) |
branch: externals/hyperbole
commit 96df2bdb4b3ceb7395e644cb6180d70caae82c35
Author: bw <rsw@gnu.org>
Commit: bw <rsw@gnu.org>
hywiki-tests--convert-words-to-org-link - Remove duplicate test
---
ChangeLog | 4 ----
test/hywiki-tests.el | 20 +-------------------
2 files changed, 1 insertion(+), 23 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5b059a9efc..d20e116a9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,3 @@
-2024-08-14 Bob Weiner <rsw@gnu.org>
-
-* test/hywiki-tests.el (hywiki-tests--convert-words-to-org-link): Fix.
-
2024-08-13 Bob Weiner <rsw@gnu.org>
* man/hyperbole.texi (Menus): Add description of Doc/ and HyWiki/ menus.
diff --git a/test/hywiki-tests.el b/test/hywiki-tests.el
index 6e1b802b20..9fe3fdab24 100644
--- a/test/hywiki-tests.el
+++ b/test/hywiki-tests.el
@@ -3,7 +3,7 @@
;; Author: Mats Lidell
;;
;; Orig-Date: 18-May-24 at 23:59:48
-;; Last-Mod: 14-Aug-24 at 01:41:38 by Bob Weiner
+;; Last-Mod: 14-Aug-24 at 01:53:15 by Bob Weiner
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
;;
@@ -280,23 +280,5 @@
(mocklet ((buffer-name => "*Other Tags*"))
(should-not (hywiki-at-tags-p)))))
-(ert-deftest hywiki-tests--convert-words-to-org-link ()
- "Verify `hywiki-convert-words-to-org-links' converts WikiWords to org links."
- (skip-unless (not noninteractive))
- (let* ((hsys-org-enable-smart-keys t)
- (hywiki-directory (make-temp-file "hywiki" t)))
- (unwind-protect
- (with-temp-buffer
- (font-lock-mode 1)
- (hywiki-mode 1)
- (hywiki-add-page "WikiWord")
- (insert "WikiWord")
- (newline nil t)
- (goto-char 4)
- (hywiki-convert-words-to-org-links)
- (should (string= "[[hy:WikiWord]]\n"
- (buffer-substring-no-properties (point-min)
(point-max)))))
- (hywiki-mode -1))))
-
(provide 'hywiki-tests)
;;; hywiki-tests.el ends here