[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole 8a5b3e2327 01/14: Add hywiki-word-is-p test
From: |
ELPA Syncer |
Subject: |
[elpa] externals/hyperbole 8a5b3e2327 01/14: Add hywiki-word-is-p test |
Date: |
Mon, 11 Nov 2024 03:58:22 -0500 (EST) |
branch: externals/hyperbole
commit 8a5b3e2327f11e92576f97394451088d3dd27a7b
Author: Mats Lidell <mats.lidell@lidells.se>
Commit: Mats Lidell <mats.lidell@lidells.se>
Add hywiki-word-is-p test
---
ChangeLog | 4 ++++
test/hywiki-tests.el | 7 +++++++
2 files changed, 11 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 2899e1dd74..0235043f4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-11-01 Mats Lidell <matsl@gnu.org>
+
+* test/hywiki-tests.el (hywiki-tests--word-is-p): Add hywiki test.
+
2024-10-28 Bob Weiner <rsw@gnu.org>
* hibtypes.el (hywiki-existing-word): Call action with the singular version
diff --git a/test/hywiki-tests.el b/test/hywiki-tests.el
index 51f7f3af2d..dfec9848a0 100644
--- a/test/hywiki-tests.el
+++ b/test/hywiki-tests.el
@@ -105,6 +105,13 @@
(hywiki-mode -1)
(hy-delete-dir-and-buffer hywiki-directory))))
+(ert-deftest hywiki-tests--word-is-p ()
+ "Verify `hywiki-word-is-p' identifies WikiWords."
+ (should (hywiki-word-is-p "WikiWord"))
+ (should (hywiki-word-is-p "WikiWord#section"))
+ (should-not (hywiki-word-is-p "hy:WikiWord"))
+ (should-not (hywiki-word-is-p "wikiWord")))
+
(ert-deftest hywiki-tests--maybe-at-wikiword-beginning ()
"Verify `hywiki-maybe-at-wikiword-beginning' identifies if maybe at
beginning of WikiWord."
(with-temp-buffer
- [elpa] externals/hyperbole updated (3555e549f8 -> 9ebfcfe2e3), ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 4571614bc5 11/14: Merge branch 'master' into make-comment-work-as-an-info-ibut, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 742ccea3ff 13/14: Merge branch 'master' into rsw, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 2ec382cdaf 03/14: Add test case for verifying property is updated on edit, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole aecb4ec856 06/14: Revert "Use plain star wildcard and add a test", ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 1dd924149f 05/14: Handle hooks to mimic redisplay behavior, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 74e7c4eb4e 07/14: make comment text into an ibut, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 9f2eff61f2 10/14: Merge pull request #600 from rswgnu/add-more-hywiki-tests, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 498f28757c 12/14: Merge pull request #601 from rswgnu/make-comment-work-as-an-info-ibut, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 8a5b3e2327 01/14: Add hywiki-word-is-p test,
ELPA Syncer <=
- [elpa] externals/hyperbole 9ebfcfe2e3 14/14: Merge pull request #602 from rswgnu/rsw, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 68e68cd893 09/14: hyrolo.el (hyrolo-grep-file) - Fix bug (gh#rswgnu/hyperbole/599), ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole a535696bb4 08/14: Support latest Treemacs and HyWiki page navigation with it, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 12d84d101f 04/14: Call hook function explicitly to simulate interactive use, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole c98bdbf501 02/14: Use plain star wildcard and add a test, ELPA Syncer, 2024/11/11