aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2017-08-27 12:34:35 +0100
committerWilfred Hughes <me@wilfred.me.uk>2017-08-27 12:34:35 +0100
commitaeeaa7aaf47253c891c569085eeb723a4aeb01f0 (patch)
treee704456da945a39ac4d17062cd52d25f831db691
parent8b569ae49e6d21624dd7e5c6d19ada1457883c0a (diff)
Update tests for new reference formatting
-rw-r--r--test/unit-test.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit-test.el b/test/unit-test.el
index 5cdde74..8e5349a 100644
--- a/test/unit-test.el
+++ b/test/unit-test.el
@@ -74,12 +74,12 @@
(ert-deftest helpful--format-reference ()
(should
(equal
- (helpful--format-reference '(def foo) 1 123 "/foo/bar.el")
- "(def foo ...) ; 1 reference"))
+ (helpful--format-reference '(def foo) 10 1 123 "/foo/bar.el")
+ "(def foo ...) 1 reference"))
(should
(equal
- (helpful--format-reference '(advice-add 'bar) 1 123 "/foo/bar.el")
- "(advice-add 'bar ...) ; 1 reference")))
+ (helpful--format-reference '(advice-add 'bar) 10 1 123 "/foo/bar.el")
+ "(advice-add 'bar ...) 1 reference")))
(ert-deftest helpful--format-docstring ()
"Ensure we create links in docstrings."