Commit 311fcab8 authored by Paul Eggert's avatar Paul Eggert

Port mod-test-nanoseconds to 32-bit Emacs

* test/src/emacs-module-tests.el (mod-test-nanoseconds):
Don’t assume -1000000000 is a fixnum.
parent ec13c46b
Pipeline #2842 passed with stage
in 79 minutes and 14 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment