]> 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)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 22 Mar 2018 16:33:33 +0000 (09:33 -0700)
commit011186279c1041e790b81af72981547d623d9b29
treee824765068a0c968f2989244d3add1e7bce27b26
parent2849477af22a1e20a86da7743562495e00b3a1b7
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