mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 05:30:43 -08:00
Port mod-test-nanoseconds to 32-bit Emacs
* test/src/emacs-module-tests.el (mod-test-nanoseconds): Don’t assume -1000000000 is a fixnum.
This commit is contained in:
parent
ec13c46bbd
commit
311fcab8f8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue