diff options
Diffstat (limited to 'test/specialized-types.c')
-rw-r--r-- | test/specialized-types.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/specialized-types.c b/test/specialized-types.c index e0e743a..ce5d82d 100644 --- a/test/specialized-types.c +++ b/test/specialized-types.c @@ -447,9 +447,9 @@ test_suo (Fixture *f G_GNUC_UNUSED, 2, &path, G_MAXUINT); - g_assert (0 == strcmp (string, "foo")); + g_assert_cmpstr (string, ==, "foo"); g_assert (intval == 42); - g_assert (0 == strcmp (path, "/bar/moo/foo/baz")); + g_assert_cmpstr (path, ==, "/bar/moo/foo/baz"); } g_value_unset (&val); |