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

+1 -1
View File
@@ -21,7 +21,7 @@ class stream_base_test : public beast::unit_test::suite
public:
void testClamp()
{
expect(detail::clamp(
BEAST_EXPECT(detail::clamp(
std::numeric_limits<std::uint64_t>::max()) ==
std::numeric_limits<std::size_t>::max());
}