forked from boostorg/beast
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:
1 parent
c07ba6aeeb
commit
b2ea40c757
29 files changed
+573
-565
No files matched your search
@@ -18,7 +18,7 @@ class to_string_test : public beast::unit_test::suite
|
||||
public:
|
||||
void run()
|
||||
{
|
||||
expect(to_string(boost::asio::const_buffers_1("x", 1)) == "x");
|
||||
BEAST_EXPECT(to_string(boost::asio::const_buffers_1("x", 1)) == "x");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user