mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
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:
@@ -82,9 +82,9 @@ public:
|
||||
void
|
||||
run ()
|
||||
{
|
||||
expect (test_one());
|
||||
expect (test_two());
|
||||
pass ();
|
||||
BEAST_EXPECT(test_one());
|
||||
BEAST_EXPECT(test_two());
|
||||
pass();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user