emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 311fcab: Port mod-test-nanoseconds to 32-bit Emacs


From: Paul Eggert
Subject: [Emacs-diffs] master 311fcab: Port mod-test-nanoseconds to 32-bit Emacs
Date: Thu, 15 Aug 2019 05:06:41 -0400 (EDT)

branch: master
commit 311fcab8f805cd5cc6eacfe37e97423cd73a795b
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Port mod-test-nanoseconds to 32-bit Emacs
    
    * test/src/emacs-module-tests.el (mod-test-nanoseconds):
    Don’t assume -1000000000 is a fixnum.
---
 test/src/emacs-module-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/src/emacs-module-tests.el b/test/src/emacs-module-tests.el
index 96a604f..c44c386 100644
--- 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]