From 196f7a409ed2dbe776432d0bd51149f96dd442e5 Mon Sep 17 00:00:00 2001 From: Ryan Hartlage Date: Sun, 19 Nov 2023 11:04:15 -0500 Subject: [PATCH] test_beer_song.c - Fix assertion (#930) --- exercises/practice/beer-song/test_beer_song.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/beer-song/test_beer_song.c b/exercises/practice/beer-song/test_beer_song.c index e286ab0b6..59457692b 100644 --- a/exercises/practice/beer-song/test_beer_song.c +++ b/exercises/practice/beer-song/test_beer_song.c @@ -43,7 +43,7 @@ static void check_song(uint16_t expected_line_count, for (size_t i = 0; i < expected_line_count; ++i) TEST_ASSERT_EQUAL_STRING(expected_song[i], actual[i]); for (size_t i = expected_line_count; i < MAX_LINE_COUNT; ++i) - TEST_ASSERT_EQUAL_STRING(actual_song[i], ""); + TEST_ASSERT_EQUAL_STRING("", actual_song[i]); } static void test_first_generic_verse(void)