summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Boles <dboles.src@gmail.com>2017-05-12 10:05:56 +0100
committerDaniel Boles <dboles.src@gmail.com>2017-05-12 10:05:56 +0100
commit8a12fb47ce931f5be4e1cfc026e1ef77fcf507fb (patch)
treee73c7f8c55e2696e76565fca9c2cc72558e3eeb7
parente8222c334318a2fce87a32bcd321580623eb00be (diff)
downloadglib-8a12fb47ce931f5be4e1cfc026e1ef77fcf507fb.tar.gz
array-test: Fix a comment
-rw-r--r--glib/tests/array-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/tests/array-test.c b/glib/tests/array-test.c
index 61851e0dc..01c597d86 100644
--- a/glib/tests/array-test.c
+++ b/glib/tests/array-test.c
@@ -558,7 +558,7 @@ pointer_array_find_empty (void)
g_assert_false (g_ptr_array_find (array, "some-value", NULL)); /* NULL index */
g_assert_false (g_ptr_array_find (array, "some-value", &idx)); /* non-NULL index */
g_assert_false (g_ptr_array_find_with_equal_func (array, "some-value", g_str_equal, NULL)); /* NULL index */
- g_assert_false (g_ptr_array_find_with_equal_func (array, "some-value", g_str_equal, &idx)); /* NULL index */
+ g_assert_false (g_ptr_array_find_with_equal_func (array, "some-value", g_str_equal, &idx)); /* non-NULL index */
g_ptr_array_free (array, TRUE);
}