diff --git a/glib/tests/string.c b/glib/tests/string.c index 819b192fb..6e22cd287 100644 --- a/glib/tests/string.c +++ b/glib/tests/string.c @@ -519,6 +519,7 @@ test_string_replace (void) n = g_string_replace (s, "a", "abcdefghijkl", 0); g_assert_cmpstr ("abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl", ==, s->str); + g_assert_cmpint (n, ==, 8); g_string_free (s, TRUE); }