summaryrefslogtreecommitdiff
path: root/glib/tests/refstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'glib/tests/refstring.c')
-rw-r--r--glib/tests/refstring.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/glib/tests/refstring.c b/glib/tests/refstring.c
index 0181be945..67b3ca302 100644
--- a/glib/tests/refstring.c
+++ b/glib/tests/refstring.c
@@ -28,6 +28,7 @@ test_refstring_base (void)
g_test_message ("s = '%s' (%p)", s, s);
g_assert_cmpint (strcmp (s, "hello, world"), ==, 0);
g_assert_cmpint (strlen (s), ==, strlen ("hello, world"));
+ g_assert_cmpuint (g_ref_string_length (s), ==, strlen ("hello, world"));
g_ref_string_release (s);
}