gsettings: tweak test for last commit
authorRyan Lortie <desrt@desrt.ca>
Thu, 2 Jan 2014 06:55:07 +0000 (01:55 -0500)
committerRyan Lortie <desrt@desrt.ca>
Thu, 2 Jan 2014 06:55:07 +0000 (01:55 -0500)
The last commit changed the behaviour of child objects of delayed
GSettings.  Adjust the testcase accordingly.

gio/tests/gsettings.c

index 6af21cd..3cd2303 100644 (file)
@@ -597,8 +597,9 @@ test_delay_child (void)
 
   g_settings_set (child, "test-byte", "y", 42);
 
+  /* make sure the child was delayed too */
   g_settings_get (base, "test-byte", "y", &byte);
-  g_assert_cmpuint (byte, ==, 42);
+  g_assert_cmpuint (byte, ==, 36);
 
   g_object_unref (child);
   g_object_unref (settings);