fix: typo in drogon_test.h (#1419)
This commit is contained in:
parent
29c67565a3
commit
37a10318ff
|
@ -774,14 +774,14 @@ static int run(int argc, char** argv)
|
|||
{ \
|
||||
}
|
||||
|
||||
#define PRINT_ERR_NOEXCEPTION__(expr, func_name) \
|
||||
do \
|
||||
{ \
|
||||
if (!TEST_FLAG_) \
|
||||
ERROR_MSG(func_name, expr) \
|
||||
<< "With expecitation\n" \
|
||||
<< " Expected to throw an exception. But non are " \
|
||||
"thrown.\n\n"; \
|
||||
#define PRINT_ERR_NOEXCEPTION__(expr, func_name) \
|
||||
do \
|
||||
{ \
|
||||
if (!TEST_FLAG_) \
|
||||
ERROR_MSG(func_name, expr) \
|
||||
<< "With expecitation\n" \
|
||||
<< " Expected to throw an exception. But none are " \
|
||||
"thrown.\n\n"; \
|
||||
} while (0);
|
||||
|
||||
#define PRINT_ERR_WITHEXCEPTION__(expr, func_name) \
|
||||
|
|
Loading…
Reference in New Issue