summaryrefslogtreecommitdiff
path: root/bog-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'bog-tests.el')
-rw-r--r--bog-tests.el10
1 files changed, 2 insertions, 8 deletions
diff --git a/bog-tests.el b/bog-tests.el
index 3bc5781..022275e 100644
--- a/bog-tests.el
+++ b/bog-tests.el
@@ -274,18 +274,12 @@
;; `bog-collect-references'
-(ert-deftest bog-collect-references ()
+(ert-deftest bog-collect-unique-references ()
(with-temp-buffer
(insert "abc1900word\nhij2000word\nefg1800word\n")
- (should (equal (bog-collect-references)
+ (should (equal (bog-collect-unique-references)
'("abc1900word" "efg1800word" "hij2000word")))))
-(ert-deftest bog-collect-references-no-sort ()
- (with-temp-buffer
- (insert "abc1900word\nhij2000word\nefg1800word\n")
- (should (equal (bog-collect-references t)
- '("efg1800word" "hij2000word" "abc1900word")))))
-
;; `bog-sort-topic-headings-in-buffer'
(ert-deftest bog-sort-topic-headings-in-buffer ()