Skip to content

Commit

Permalink
[crash] Avoid crash in CUTE reporter bc. time is not supplied
Browse files Browse the repository at this point in the history
This most likely crashes if executed. This might break CUTE reporter
external API if it requires the time in the success message.
  • Loading branch information
thoni56 committed Nov 11, 2022
1 parent f40f30b commit 5b2250a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cute_reporter.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static void cute_finish_test(TestReporter *reporter, const char *filename, int l

reporter_finish_test(reporter, filename, line, message);
if (memo->error_count == reporter->failures + reporter->exceptions) {
memo->printer("#success %s, %d ms OK\n", name);
memo->printer("#success %s OK\n", name);
}
}

Expand Down

0 comments on commit 5b2250a

Please sign in to comment.