branch: elpa/evil commit 6c5079b105b2ccbcfa735fd1b6a19797daa7081d Author: rbrtb <104695105+rb...@users.noreply.github.com> Commit: GitHub <nore...@github.com>
Make sure not to test stale code (#1619) When there's outdate byte-compiled files, they may be loaded instead of the new changed code. Enable `load-prefer-newer` would avoid this. --- evil-tests.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/evil-tests.el b/evil-tests.el index 5aa9013831..d38ee9ea50 100644 --- a/evil-tests.el +++ b/evil-tests.el @@ -61,6 +61,8 @@ ;; ;; This file is NOT part of Evil itself. +(setq load-prefer-newer t) + (require 'cl-lib) (require 'elp) (require 'ert)