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.
Niklas Hauser 2015-11-17 10:45:14 +00:00 committed by Martin Kojtal
parent 64573c33d0
commit 61fe8e07a1
1 changed files with 1 additions and 3 deletions

View File

@ -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;