mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-05 11:21:04 -08:00
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
This commit is contained in:
commit
4b04d8a7d5
1 changed files with 5 additions and 7 deletions
|
|
@ -78,13 +78,11 @@ changes."
|
|||
(let ((obj (nth 2 body)))
|
||||
(should (equal (type-of obj) 'module-function))
|
||||
(should (string-match-p
|
||||
(rx (or "#<module function Fmod_test_sum from "
|
||||
;; MS-Windows doesn't allow us to get the
|
||||
;; function name, only the address.
|
||||
(and "#<module function at 0x"
|
||||
(one-or-more hex-digit)
|
||||
" from "))
|
||||
(* nonl) "mod-test" (* nonl) ">")
|
||||
(rx "#<module function "
|
||||
(or "Fmod_test_sum"
|
||||
(and "at 0x" (+ hex-digit)))
|
||||
(? " from " (* nonl) "mod-test" (* nonl) )
|
||||
">")
|
||||
(prin1-to-string obj)))))))
|
||||
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue