summaryrefslogtreecommitdiff
path: root/bog-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'bog-tests.el')
-rw-r--r--bog-tests.el12
1 files changed, 4 insertions, 8 deletions
diff --git a/bog-tests.el b/bog-tests.el
index 91bf252..201bc89 100644
--- a/bog-tests.el
+++ b/bog-tests.el
@@ -77,16 +77,12 @@ point at the beginning of the inserted text."
(ert-deftest bog-citekey-p-with-other-text ()
(should-not (bog-citekey-p "name2010word more text")))
-;; `bog-citekey-groups-with-delim'
+;; `bog--citekey-groups-with-delim'
-(ert-deftest bog-citekey-groups-with-delim ()
+(ert-deftest bog--citekey-groups-with-delim ()
(let ((citekey "name2010word"))
- (should (equal (bog-citekey-groups-with-delim citekey)
- "name 2010 word"))
- (should (equal (bog-citekey-groups-with-delim citekey ",")
- "name,2010,word"))
- (should (equal (bog-citekey-groups-with-delim citekey nil '(1 3))
- "name word"))))
+ (should (equal (bog--citekey-groups-with-delim citekey ",")
+ "name,2010,word"))))
;; `bog-citekey-at-point'