• Paul Eggert's avatar
    Port emacs-module-tests to 32-bit Emacs · 01118627
    Paul Eggert authored
    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.
emacs-module-tests.el 10.5 KB