[glib] array-test: Fix a comment



commit 8a12fb47ce931f5be4e1cfc026e1ef77fcf507fb
Author: Daniel Boles <dboles src gmail com>
Date:   Fri May 12 10:05:56 2017 +0100

    array-test: Fix a comment

 glib/tests/array-test.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/tests/array-test.c b/glib/tests/array-test.c
index 61851e0..01c597d 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);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]