Closed ideasman42 closed 2 years ago
I pulled the latest trunk at 74100997b3853a6c00c60e1998ed5a86a9a01bc3
and the tests seem to pass. Could you also pull trunk can test?
Tested 74100997b3853a6c00c60e1998ed5a86a9a01bc3
as well as emacs-28.1 stable,
both report this error for me.
I moved my user configuration (even though that shouldn't have been loading anyway), but the error persists.
Ah, I think I know why. I tried batch test and it errors too. But running an interactive session and M-x ert RET
works fine. Test 3 is testing regional undo, so I guess region behaves differently in batch mode. The test result (expect "acde" got "abcd") also suggest that Emacs didn't do regional undo but did a global undo.
Thanks, would be nice to resolve but this is more of a TODO/something to investigate.
BTW, I added a condition check that disables test 3 on batch mode. So you should be able to run batch test and pass now.
emacs -batch -l ./vundo.el -l ./test/vundo-test.el -f ert-run-tests-batch-and-exit
Gives the following error in emacs-29 (
9fab134ee8b4ed439a8944e0d7058b1898c9bc0b
).