* tests/cmp_unit_test.c: Add missing failure message.
* tests/example_unit_test.c: Likewise. * tests/printf_unit_test.c: Likewise.
This commit is contained in:
parent
941e3a6d96
commit
1c4afb6095
4 changed files with 156 additions and 146 deletions
|
@ -27,7 +27,7 @@ static void
|
|||
example_test (void)
|
||||
{
|
||||
/* Check if 1st argument is true and report with default error message. */
|
||||
grub_test_assert (1 == 1);
|
||||
grub_test_assert (1 == 1, "1 equal 1 expected");
|
||||
|
||||
/* Check if 1st argument is true and report with custom error message. */
|
||||
grub_test_assert (2 == 2, "2 equal 2 expected");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue