diff options
| author | Ken Brown | 2015-11-29 11:23:32 -0500 |
|---|---|---|
| committer | Ken Brown | 2015-11-29 11:23:32 -0500 |
| commit | ff21f455b71d9c566b8526e770632bac6c682f5d (patch) | |
| tree | 84352275c9b8532ccbadeb9a5e56516e2bb8076e /modules/mod-test/test.el | |
| parent | 5cf012a3a86e700b5f229fc14d9abd1e27fdb5f4 (diff) | |
| download | emacs-ff21f455b71d9c566b8526e770632bac6c682f5d.tar.gz emacs-ff21f455b71d9c566b8526e770632bac6c682f5d.zip | |
Update mod-test-sum-test
* modules/mod-test/test.el (mod-test-sum-test): Update to
accommodate the lack of dladdr on Cygwin.
Diffstat (limited to '')
| -rw-r--r-- | modules/mod-test/test.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/mod-test/test.el b/modules/mod-test/test.el index 3cb4e9344ca..a0abdab49e5 100644 --- a/modules/mod-test/test.el +++ b/modules/mod-test/test.el | |||
| @@ -36,7 +36,9 @@ | |||
| 36 | (string-match | 36 | (string-match |
| 37 | (if (eq system-type 'windows-nt) | 37 | (if (eq system-type 'windows-nt) |
| 38 | "#<module function at \\(0x\\)?[0-9a-fA-F]+ from .*>" | 38 | "#<module function at \\(0x\\)?[0-9a-fA-F]+ from .*>" |
| 39 | "#<module function Fmod_test_sum from .*>") | 39 | (if (eq system-type 'cygwin) |
| 40 | "#<module function at \\(0x\\)?[0-9a-fA-F]+>" | ||
| 41 | "#<module function Fmod_test_sum from .*>")) | ||
| 40 | (nth 1 descr)))) | 42 | (nth 1 descr)))) |
| 41 | (should (= (nth 2 descr) 3))) | 43 | (should (= (nth 2 descr) 3))) |
| 42 | (should-error (mod-test-sum "1" 2) :type 'wrong-type-argument) | 44 | (should-error (mod-test-sum "1" 2) :type 'wrong-type-argument) |