* test/src/emacs-module-tests.el (module-function-object): Port to
MS-Windows.
(let ((obj (nth 2 body)))
(should (equal (type-of obj) 'module-function))
(should (string-match-p
- (rx "#<module function Fmod_test_sum from "
+ (rx (or "#<module function Fmod_test_sum from "
+ ;; MS-Windows doesn't allow us to get the
+ ;; function name, only the address.
+ "#<module function at 0x"
+ (one-or-more hex-digit)
+ "from ")
(* nonl) "mod-test" (* nonl) ">")
(prin1-to-string obj)))))))