]> git.eshelyaron.com Git - emacs.git/commitdiff
; * test/lisp/progmodes/elisp-mode-tests.el: repair test failure
authorMattias Engdegård <mattiase@acm.org>
Tue, 26 Oct 2021 08:04:24 +0000 (10:04 +0200)
committerMattias Engdegård <mattiase@acm.org>
Tue, 26 Oct 2021 08:04:24 +0000 (10:04 +0200)
The test used an internal variable that has been renamed; use the new
name.  (Any variable would do here.)

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

index 8a3669c42723143b1606412904404559318cece5..9516687f5b00c40984ab7ffe935277be6f4faabe 100644 (file)
@@ -782,11 +782,11 @@ to (xref-elisp-test-descr-to-target xref)."
    ))
 
 (xref-elisp-deftest find-defs-defvar-el
-  (elisp--xref-find-definitions 'xref--marker-ring)
+  (elisp--xref-find-definitions 'xref--history)
   (list
-   (xref-make "(defvar xref--marker-ring)"
+   (xref-make "(defvar xref--history)"
              (xref-make-elisp-location
-              'xref--marker-ring 'defvar
+              'xref--history 'defvar
               (expand-file-name "../../../lisp/progmodes/xref.el" emacs-test-dir)))
     ))