TEST_EXCEPTION now checks for exact exception type
commiteacae4a631376d29aee5491b5f48304c42c38f30
authorOlly Betts <olly@survex.com>
Mon, 7 Jan 2019 03:17:47 +0000 (7 16:17 +1300)
committerOlly Betts <olly@survex.com>
Mon, 7 Jan 2019 03:20:25 +0000 (7 16:20 +1300)
tree5f465dab5431973002a70cc5170bc56982a91443
parent9b23abb9ca838bff3d12766492270c9b4272fe84
TEST_EXCEPTION now checks for exact exception type

Previously it would allow a subclass of the exception type to be thrown
instead, but in testcases we really want to be able to test for an exact
type.

Issue noted by Vaibhav Kansagara on IRC.
xapian-core/tests/harness/testsuite.h
xapian-core/tests/harness/testutils.h