[dconf/wip/reorg: 484/498] gsettings test: use g_assert_cmpint()
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf/wip/reorg: 484/498] gsettings test: use g_assert_cmpint()
- Date: Fri, 6 Jul 2012 18:41:03 +0000 (UTC)
commit 3600ebd91c138f17312b166f5890ffd19104c5a5
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Jul 5 23:43:28 2012 -0400
gsettings test: use g_assert_cmpint()
This gives more information when it fails...
tests/gsettings.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/gsettings.c b/tests/gsettings.c
index 5695fa7..89ebb4c 100644
--- a/tests/gsettings.c
+++ b/tests/gsettings.c
@@ -299,7 +299,7 @@ verify_consistency (void)
else
g_print ("(%d)", g_hash_table_size (implicit));
- g_assert (g_hash_table_size (explicit) == g_hash_table_size (implicit));
+ g_assert_cmpint (g_hash_table_size (explicit), ==, g_hash_table_size (implicit));
g_hash_table_iter_init (&iter, explicit);
while (g_hash_table_iter_next (&iter, &key, &value))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]