]> git.cworth.org Git - notmuch/commit
test: error handling in _n_message_{add,remove}_filename
authorDavid Bremner <david@tethera.net>
Mon, 23 May 2022 23:39:01 +0000 (20:39 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 25 Jun 2022 15:55:02 +0000 (12:55 -0300)
commit9e9d0e5ffcdb92e4051b10a8df0c093db1be5d42
tree38eb588e10ccbea1cd187b6505e476313740f234
parent879ec9d76ad5caeb728c3f047d1da425d0b511eb
test: error handling in _n_message_{add,remove}_filename

Use a closed database to force throwing a Xapian exception. Leave the
check vague to accomodate a potential explicit check for open database.
test/T566-lib-message.sh