]> git.eshelyaron.com Git - emacs.git/commit
Port emacs-module-tests to 32-bit Emacs
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 22 Mar 2018 16:32:50 +0000 (09:32 -0700)
committerAndrew G Cohen <cohen@andy.bu.edu>
Tue, 11 Dec 2018 06:17:57 +0000 (14:17 +0800)
commit7f60bfed2df615eeddcfdd4772ef72a149480421
treeb5b24b5a0e4f74ba1037b81fadef93cdc901e596
parent0bf81e23872385fc6379dadb294b10a05c9e5ad8
Port emacs-module-tests to 32-bit Emacs

Fix a portability bug when emacs-module-tests.el is byte-compiled
with a 32-bit Emacs (where #x20000000 evaluates to a
floating-point number) and then is run on a 64-bit Emacs (where
the floating-point number causes a test failure).
* test/src/emacs-module-tests.el (mod-test-sum-test):
Don’t assume #x20000000 can be represented as an Emacs integer.
test/src/emacs-module-tests.el