[dconf] test case: actually do the test
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf] test case: actually do the test
- Date: Sun, 9 Jan 2011 21:52:00 +0000 (UTC)
commit dfcb5dc47e0dcd8b8384f34b6368826fa0851694
Author: Ryan Lortie <desrt desrt ca>
Date: Mon Dec 20 10:14:33 2010 -0500
test case: actually do the test
The test was comparing a hash table to itself instead of the other hash
table. Turns out it was correct anyway, but we should actually do the
check...
tests/gsettings.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/gsettings.c b/tests/gsettings.c
index 325b25c..5695fa7 100644
--- a/tests/gsettings.c
+++ b/tests/gsettings.c
@@ -308,7 +308,7 @@ verify_consistency (void)
GVariant *other;
ghash_time -= g_get_monotonic_time ();
- other = g_hash_table_lookup (explicit, key);
+ other = g_hash_table_lookup (implicit, key);
ghash_time += g_get_monotonic_time ();
g_assert (g_variant_equal (value, other));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]