aboutsummaryrefslogtreecommitdiff
path: root/test/helpful-unit-test.el
diff options
context:
space:
mode:
authorDamien Cassou <damien@cassou.me>2019-11-29 17:33:15 +0100
committerWilfred Hughes <me@wilfred.me.uk>2020-01-11 23:24:02 +0000
commite511e8dbd32a8b8423f07178f0ea7c1ecfc63935 (patch)
tree29a0e02f045012d8bb82df636366e0a41e61126a /test/helpful-unit-test.el
parent982dd49c9c7e63fa94b56824f50dea4186081f8e (diff)
Add support for CL generic methods
Diffstat (limited to 'test/helpful-unit-test.el')
-rw-r--r--test/helpful-unit-test.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/helpful-unit-test.el b/test/helpful-unit-test.el
index 0250980..544ef00 100644
--- a/test/helpful-unit-test.el
+++ b/test/helpful-unit-test.el
@@ -1042,3 +1042,10 @@ find the source code."
70
"This variable was added, or its default value changed, in helpful version 1.2.3.")
(buffer-string))))
+
+(ert-deftest helpful--display-implementations ()
+ (require 'xref)
+ (helpful-function 'xref-location-marker)
+ (should (s-contains-p "Implementations" (buffer-string)))
+ (should (s-contains-p "((l xref-file-location))" (buffer-string)))
+ (should (s-contains-p "((l xref-buffer-location))" (buffer-string))))