emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 3046b17: * test/automated/elisp-mode-tests.el


From: Glenn Morris
Subject: [Emacs-diffs] master 3046b17: * test/automated/elisp-mode-tests.el
Date: Tue, 21 Jul 2015 15:54:30 +0000

branch: master
commit 3046b1762faf7769da2936256af1154c735d4ba6
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * test/automated/elisp-mode-tests.el
    
    (elisp-xref-finds-both-function-and-variable)
    (elisp-xref-finds-only-function-for-minor-mode):
    Update for recent xref name changes.
---
 test/automated/elisp-mode-tests.el |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/automated/elisp-mode-tests.el 
b/test/automated/elisp-mode-tests.el
index 85f6da2..2581de4 100644
--- a/test/automated/elisp-mode-tests.el
+++ b/test/automated/elisp-mode-tests.el
@@ -119,9 +119,9 @@
   ;; "system-name" is both: a variable and a function
   (let ((defs (elisp-xref-find 'definitions "system-name")))
     (should (= (length defs) 2))
-    (should (string= (xref--xref-description (nth 0 defs))
+    (should (string= (xref-item-summary (nth 0 defs))
                      "(defun system-name)"))
-    (should (string= (xref--xref-description (nth 1 defs))
+    (should (string= (xref-item-summary (nth 1 defs))
                      "(defvar system-name)")))
   ;; It's a minor mode, but the variable is defined in buffer.c
   (let ((defs (elisp-xref-find 'definitions "abbrev-mode")))
@@ -131,7 +131,7 @@
   ;; Both variable and function are defined in the same place.
   (let ((defs (elisp-xref-find 'definitions "visible-mode")))
     (should (= (length defs) 1))
-    (should (string= (xref--xref-description (nth 0 defs))
+    (should (string= (xref-item-summary (nth 0 defs))
                      "(defun visible-mode)"))))
 
 (provide 'elisp-mode-tests)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]