diff options
author | Vincent Richard <[email protected]> | 2013-11-22 12:32:52 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-11-22 12:32:52 +0000 |
commit | 96077ce7e6125cdba959925d0a2b7b1f8ee54046 (patch) | |
tree | aa478ebd974ce101e8e16d9c6cbab32643725a31 /tests | |
parent | Do not throw exception for normal code flow. (diff) | |
download | vmime-96077ce7e6125cdba959925d0a2b7b1f8ee54046.tar.gz vmime-96077ce7e6125cdba959925d0a2b7b1f8ee54046.zip |
Do not throw exception for normal code flow (exceptions::no_such_field).
Diffstat (limited to 'tests')
-rw-r--r-- | tests/misc/importanceHelperTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/importanceHelperTest.cpp b/tests/misc/importanceHelperTest.cpp index 9a4b86f7..53c5c679 100644 --- a/tests/misc/importanceHelperTest.cpp +++ b/tests/misc/importanceHelperTest.cpp @@ -59,8 +59,8 @@ VMIME_TEST_SUITE_BEGIN(importanceHelperTest) vmime::misc::importanceHelper::resetImportanceHeader(hdr); - VASSERT_THROW("3", hdr->findField("Importance"), vmime::exceptions::no_such_field); - VASSERT_THROW("4", hdr->findField("X-Priority"), vmime::exceptions::no_such_field); + VASSERT_NULL("3", hdr->findField("Importance")); + VASSERT_NULL("4", hdr->findField("X-Priority")); } |