Fix test find-defs-defgeneric-el

* test/lisp/progmodes/elisp-mode-tests.el (find-defs-defgeneric-el):
Fix the test.  Reported by dick.r.chiang@gmail.com.
This commit is contained in:
Dmitry Gutov 2021-09-10 18:42:55 +03:00
parent 192a384408
commit 6eba633ead

View file

@ -604,6 +604,12 @@ to (xref-elisp-test-descr-to-target xref)."
'xref-location-marker nil '(xref-etags-location))
'cl-defmethod
(expand-file-name "../../../lisp/progmodes/etags.el" emacs-test-dir)))
(xref-make "(cl-defmethod xref-location-marker ((l xref-etags-apropos-location)))"
(xref-make-elisp-location
(cl--generic-load-hist-format
'xref-location-marker nil '(xref-etags-apropos-location))
'cl-defmethod
(expand-file-name "../../../lisp/progmodes/etags.el" emacs-test-dir)))
))
(xref-elisp-deftest find-defs-defgeneric-eval