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 2016-08-12 21:02:40 -04:00
1 parent 1537527927
commit 8d9c0daa9d
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());
}