projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec13c46
)
Port mod-test-nanoseconds to 32-bit Emacs
author
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 15 Aug 2019 09:06:04 +0000
(
02:06
-0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 15 Aug 2019 09:06:34 +0000
(
02:06
-0700)
* test/src/emacs-module-tests.el (mod-test-nanoseconds):
Don’t assume -
1000000000
is a fixnum.
test/src/emacs-module-tests.el
patch
|
blob
|
history
diff --git
a/test/src/emacs-module-tests.el
b/test/src/emacs-module-tests.el
index 96a604f9824d5fd020a78db8fb975cc7923a29d7..c44c386d30b1c8bf858de68e193b1368a488d918 100644
(file)
--- a/
test/src/emacs-module-tests.el
+++ b/
test/src/emacs-module-tests.el
@@
-368,7
+368,7
@@
Interactively, you can try hitting \\[keyboard-quit] to quit."
(let ((input (car test-case))
(expected (cdr test-case)))
(ert-info ((format "input: %S, expected result: %d" input expected))
- (should (
eq
(mod-test-nanoseconds input) expected))))))
+ (should (
=
(mod-test-nanoseconds input) expected))))))
(ert-deftest mod-test-double ()
(dolist (input (list 0 1 2 -1 42 12345678901234567890