]> git.notmuchmail.org Git - notmuch/commit - test/test-lib.el
test/emacs: provide macro test-log-error
authorDavid Bremner <david@tethera.net>
Sun, 29 Aug 2021 19:23:27 +0000 (12:23 -0700)
committerDavid Bremner <david@tethera.net>
Sat, 11 Sep 2021 13:10:16 +0000 (10:10 -0300)
commit59d0d5a4891469f3c91dcea7448c086cc8434a7a
tree2e991197611222937a130bfd4423cc3b16db2290
parent7556bb7da27621895327b84d22abba2519c24ba7
test/emacs: provide macro test-log-error

Because of the way emacs reports errors, a test form can crash and not
change the main buffer. To work around this, capture both signalled
errors and any other messages.
test/test-lib.el