aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorEli Zaretskii2017-05-06 23:00:34 +0300
committerEli Zaretskii2017-05-06 23:00:34 +0300
commit89b5a8283375f83b8f0e174a3a8760158b99be6e (patch)
treeba43c806dda0275e0fb8bb2dcd4d43638646dc36 /test/src
parent1784ce6080e4895a48ce71747a136d9642baa73e (diff)
downloademacs-89b5a8283375f83b8f0e174a3a8760158b99be6e.tar.gz
emacs-89b5a8283375f83b8f0e174a3a8760158b99be6e.zip
Fix last change for MS-Windows
* test/src/emacs-module-tests.el (module-function-object): Port to MS-Windows.
Diffstat (limited to 'test/src')
-rw-r--r--test/src/emacs-module-tests.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/src/emacs-module-tests.el b/test/src/emacs-module-tests.el
index 7859fc5dce7..8cef1cfa7d0 100644
--- a/test/src/emacs-module-tests.el
+++ b/test/src/emacs-module-tests.el
@@ -78,7 +78,12 @@ changes."
78 (let ((obj (nth 2 body))) 78 (let ((obj (nth 2 body)))
79 (should (equal (type-of obj) 'module-function)) 79 (should (equal (type-of obj) 'module-function))
80 (should (string-match-p 80 (should (string-match-p
81 (rx "#<module function Fmod_test_sum from " 81 (rx (or "#<module function Fmod_test_sum from "
82 ;; MS-Windows doesn't allow us to get the
83 ;; function name, only the address.
84 "#<module function at 0x"
85 (one-or-more hex-digit)
86 "from ")
82 (* nonl) "mod-test" (* nonl) ">") 87 (* nonl) "mod-test" (* nonl) ">")
83 (prin1-to-string obj))))))) 88 (prin1-to-string obj)))))))
84 89