]> git.cworth.org Git - notmuch-old/commit
test: uncaught exception when editing properties of a removed message
authorKevin Boulain <kevin@boula.in>
Wed, 29 Mar 2023 16:19:57 +0000 (18:19 +0200)
committerDavid Bremner <david@tethera.net>
Thu, 30 Mar 2023 10:06:48 +0000 (07:06 -0300)
commitc810312e24067a7176a26b35893cf64f754886c5
treeee80fd32ad87c6569a5998708ef2d5fa01492ecc
parentd86e03c786ec51e2ca4af4e7c756cd19adbe17a8
test: uncaught exception when editing properties of a removed message

These two functions don't fail gracefully when editing a removed
message:
 BROKEN edit property on removed message without uncaught exception
        --- T610-message-property.20.EXPECTED   2023-02-27 11:33:25.792764376 +0000
        +++ T610-message-property.20.OUTPUT     2023-02-27 11:33:25.793764381 +0000
        @@ -1,2 +1,3 @@
         == stdout ==
         == stderr ==
        +terminate called after throwing an instance of 'Xapian::DocNotFoundError'

The other functions appear to be safe.
test/T610-message-property.sh