branch: externals/hyperbole commit bec249a73e94c32b011eddecae59b0a4afc3a098 Author: bw <r...@gnu.org> Commit: bw <r...@gnu.org>
hywiki-tests--published-html-links-to-word-and-section - Enable test --- ChangeLog | 3 +++ test/hywiki-tests.el | 6 ++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 36f17b0e69..f927107322 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2025-05-27 Bob Weiner <r...@gnu.org> +* test/hywiki-tests.el (hywiki-tests--published-html-links-to-word-and-section): + Bug is fixed, so remove expected fail and enable this test. + * hywiki.el (hywiki-word-is-p): Save match data so when returns it represents the match to the whole HyWikiWord referent, if any. This fixes a bug that created HyWikiWord page files with the section name attached. diff --git a/test/hywiki-tests.el b/test/hywiki-tests.el index 88e7626e21..bccffc4574 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: 27-Apr-25 at 10:11:50 by Bob Weiner +;; Last-Mod: 27-May-25 at 02:14:49 by Bob Weiner ;; ;; SPDX-License-Identifier: GPL-3.0-or-later ;; @@ -1560,9 +1560,7 @@ Insert test in the middle of other text." (hy-delete-dir-and-buffer hywiki-directory))))) (ert-deftest hywiki-tests--nonexistent-wikiword-with-section-should-create-wikiword () - "Verify that action-key on a new WikiWord with section only creates WikiWord.org. -Bug - creates WikiWord.org#section" - :expected-result :failed + "Verify action-key on a new WikiWord#section creates proper page filename." (hywiki-tests--preserve-hywiki-mode (let* ((hywiki-directory (make-temp-file "hywiki" t)) (hywiki-page (expand-file-name "WikiWord.org" hywiki-directory))