summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes/elisp-mode-tests.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2020-07-08 17:35:54 -0700
committerGlenn Morris <rgm@gnu.org>2020-07-08 17:35:54 -0700
commitef8bd7d8561be7ae2749127606bc40eed421601e (patch)
tree3d25b434f63b855868992484a08e559f97707358 /test/lisp/progmodes/elisp-mode-tests.el
parentfcc04678b906047992f018edeb26c5603147a76a (diff)
downloademacs-ef8bd7d8561be7ae2749127606bc40eed421601e.tar.gz
emacs-ef8bd7d8561be7ae2749127606bc40eed421601e.tar.bz2
emacs-ef8bd7d8561be7ae2749127606bc40eed421601e.zip
Update tests for recent changes
* test/lisp/descr-text-tests.el (descr-text-test-desc): Update for recent change to describe-char-eldoc. * test/lisp/progmodes/elisp-mode-tests.el (elisp--highlight-function-argument-indexed) (elisp--highlight-function-argument-keyed-1) (elisp--highlight-function-argument-keyed-2): Update for recent change to elisp--highlight-function-argument.
Diffstat (limited to 'test/lisp/progmodes/elisp-mode-tests.el')
-rw-r--r--test/lisp/progmodes/elisp-mode-tests.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lisp/progmodes/elisp-mode-tests.el b/test/lisp/progmodes/elisp-mode-tests.el
index 2ba00656862..2de533e5eb9 100644
--- a/test/lisp/progmodes/elisp-mode-tests.el
+++ b/test/lisp/progmodes/elisp-mode-tests.el
@@ -194,7 +194,7 @@
(dotimes (i 3)
(should
(equal (elisp-mode-tests--face-propertized-string
- (elisp--highlight-function-argument 'foo "(A B C)" (1+ i) "foo: "))
+ (elisp--highlight-function-argument 'foo "(A B C)" (1+ i)))
(propertize (nth i '("A" "B" "C"))
'face 'eldoc-highlight-function-argument)))))
@@ -206,7 +206,7 @@
(cl-flet ((bold-arg (i)
(elisp-mode-tests--face-propertized-string
(elisp--highlight-function-argument
- 'foo "(PROMPT LST &key A B C)" i "foo: "))))
+ 'foo "(PROMPT LST &key A B C)" i))))
(should-not (bold-arg 0))
(progn (forward-sexp) (forward-char))
(should (equal (bold-arg 1) "PROMPT"))
@@ -226,7 +226,7 @@
(cl-flet ((bold-arg (i)
(elisp-mode-tests--face-propertized-string
(elisp--highlight-function-argument
- 'foo "(X &key A B C)" i "foo: "))))
+ 'foo "(X &key A B C)" i))))
(should-not (bold-arg 0))
;; The `:b' specifies positional arg `X'.
(progn (forward-sexp) (forward-char))