Update mod-test-sum-test
* modules/mod-test/test.el (mod-test-sum-test): Update to accommodate the lack of dladdr on Cygwin.
This commit is contained in:
parent
5cf012a3a8
commit
ff21f455b7
1 changed files with 3 additions and 1 deletions
|
@ -36,7 +36,9 @@
|
|||
(string-match
|
||||
(if (eq system-type 'windows-nt)
|
||||
"#<module function at \\(0x\\)?[0-9a-fA-F]+ from .*>"
|
||||
"#<module function Fmod_test_sum from .*>")
|
||||
(if (eq system-type 'cygwin)
|
||||
"#<module function at \\(0x\\)?[0-9a-fA-F]+>"
|
||||
"#<module function Fmod_test_sum from .*>"))
|
||||
(nth 1 descr))))
|
||||
(should (= (nth 2 descr) 3)))
|
||||
(should-error (mod-test-sum "1" 2) :type 'wrong-type-argument)
|
||||
|
|
Loading…
Add table
Reference in a new issue