Commit 45eb1980 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[3200] In one more AssertionFailure pass the error message as parameter.

parent c936de6a
......@@ -371,9 +371,10 @@ Dhcpv4SrvTest::createPacketFromBuffer(const Pkt4Ptr& src_pkt,
// Parse the new packet and return to the caller.
} catch (const Exception& ex) {
return (::testing::AssertionFailure()
<< "Failed to parse a destination packet: "
<< ex.what());
return (::testing::AssertionFailure(::testing::Message()
<< "Failed to parse a"
<< " destination packet: "
<< ex.what()));
return (::testing::AssertionSuccess());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment