projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4be102
)
Fix test name with erts-run-test with Point-Char
author
nverno
<noah.v.peart@gmail.com>
Fri, 17 Nov 2023 01:55:59 +0000
(17:55 -0800)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 25 Nov 2023 09:42:05 +0000
(11:42 +0200)
* lisp/progmodes/erts-mode.el (erts-run-test): Fix finding
the test name when Point-Char is defined, (Bug#67235)
lisp/progmodes/erts-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/erts-mode.el
b/lisp/progmodes/erts-mode.el
index 8dce93eae7e27db57633889e6cfa2e9ebccbb745..5ff740824616ade5559d62d6bb0ed73c25fa8abf 100644
(file)
--- a/
lisp/progmodes/erts-mode.el
+++ b/
lisp/progmodes/erts-mode.el
@@
-181,7
+181,8
@@
expected results and the actual results in a separate buffer."
(ert-test--erts-test
(list (cons 'dummy t)
(cons 'code (car (read-from-string test-function)))
- (cons 'point-char (erts-mode--preceding-spec "Point-Char")))
+ (cons 'point-char (save-match-data
+ (erts-mode--preceding-spec "Point-Char"))))
(buffer-file-name))
(:success (message "Test successful"))
(ert-test-failed