Add BEAST_EXPECT macro:

This macro is used in the unit test framework to assist in
reporting the file and line number of test failures.
This commit is contained in:
Vinnie Falco committed 2017-07-20 08:12:07 -07:00
1 parent c07ba6aeeb
commit b2ea40c757
29 files changed
+573 -565

No files matched your search

+2 -2
View File
@@ -20,8 +20,8 @@ public:
check (std::string const& in, std::string const& out)
{
auto const encoded = base64_encode (in);
expect (encoded == out);
expect (base64_decode (encoded) == in);
BEAST_EXPECT(encoded == out);
BEAST_EXPECT(base64_decode (encoded) == in);
}
void