mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-11 20:06:18 +01:00
Merge branch 'mcatanzaro/string-test' into 'master'
tests: Add missing return value check in string test See merge request GNOME/glib!2100
This commit is contained in:
commit
c0b339372c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user