]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix test find-defs-defgeneric-el
authorDmitry Gutov <dgutov@yandex.ru>
Fri, 10 Sep 2021 15:42:55 +0000 (18:42 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Fri, 10 Sep 2021 15:42:55 +0000 (18:42 +0300)
* test/lisp/progmodes/elisp-mode-tests.el (find-defs-defgeneric-el):
Fix the test.  Reported by dick.r.chiang@gmail.com.

test/lisp/progmodes/elisp-mode-tests.el

index f47d54e59c017f900aecf2a75fc447e70db025bf..2745aff670e8a2498992cb90e859069cdb6adc55 100644 (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