[glib] sequence: fix style issue in previous commit



commit 01baf396852bf9e31625260ccba939bf4f539f5e
Author: Christian Hergert <chergert redhat com>
Date:   Thu Oct 15 13:07:27 2015 -0700

    sequence: fix style issue in previous commit
    
    Use g_assert_true() rather than integer comparison in sequence unit test.

 glib/tests/sequence.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/tests/sequence.c b/glib/tests/sequence.c
index 929f650..f01738f 100644
--- a/glib/tests/sequence.c
+++ b/glib/tests/sequence.c
@@ -1363,7 +1363,7 @@ test_empty (void)
   int i;
 
   seq = g_sequence_new (NULL);
-  g_assert_cmpint (TRUE, ==, g_sequence_is_empty (seq));
+  g_assert_true (g_sequence_is_empty (seq));
 
   for (i = 0; i < 1000; i++)
     {


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