commit aeeaa7aaf47253c891c569085eeb723a4aeb01f0 parent 8b569ae49e6d21624dd7e5c6d19ada1457883c0a Author: Wilfred Hughes <me@wilfred.me.uk> Date: Sun, 27 Aug 2017 12:34:35 +0100 Update tests for new reference formatting Diffstat:
| M | test/unit-test.el | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git 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."