mirror of https://github.com/ARMmbed/mbed-os.git
Handlers: Remove forced newline after assertion failure.
This was a workaround for unity's failure to add a newline after printing an assertion failure. This has been fixed in unity.
parent
64573c33d0
commit
61fe8e07a1
|
@ -57,9 +57,7 @@ status_t mbed::test::v0::verbose_case_teardown_handler(const Case *const source,
|
|||
|
||||
status_t mbed::test::v0::verbose_case_failure_handler(const Case *const /*source*/, const failure_t reason)
|
||||
{
|
||||
if (reason == FAILURE_ASSERTION) {
|
||||
printf("\n");
|
||||
} else {
|
||||
if (reason != FAILURE_ASSERTION) {
|
||||
printf(">>> failed with reason '%s'\n", stringify(reason));
|
||||
}
|
||||
return (reason == FAILURE_TEARDOWN) ? STATUS_ABORT : STATUS_CONTINUE;
|
||||
|
|
Loading…
Reference in New Issue