diff options
author | Ryan Lortie <desrt@desrt.ca> | 2013-11-25 14:54:44 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2013-11-25 14:54:44 -0500 |
commit | 5c2e59a41cf4b9114ff3a5a1baa3f9431f971e3c (patch) | |
tree | 146c6bf27c8729e328551f403477207250c10f4c /tests | |
parent | ab82757a0a66f55c6cf14fc1d63f61bd5fe70a45 (diff) | |
download | dconf-5c2e59a41cf4b9114ff3a5a1baa3f9431f971e3c.tar.gz |
tests: fix ridiculous typo
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dconf-mock-dbus.c | 2 | ||||
-rw-r--r-- | tests/dconf-mock.h | 2 | ||||
-rw-r--r-- | tests/engine.c | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/dconf-mock-dbus.c b/tests/dconf-mock-dbus.c index d20600c..9296ef3 100644 --- a/tests/dconf-mock-dbus.c +++ b/tests/dconf-mock-dbus.c @@ -58,7 +58,7 @@ dconf_mock_dbus_async_reply (GVariant *reply, } void -dconf_mock_dbus_assert_no_aync (void) +dconf_mock_dbus_assert_no_async (void) { g_assert (g_queue_is_empty (&dconf_mock_dbus_outstanding_call_handles)); } diff --git a/tests/dconf-mock.h b/tests/dconf-mock.h index 26f5f3c..b3bdcba 100644 --- a/tests/dconf-mock.h +++ b/tests/dconf-mock.h @@ -18,7 +18,7 @@ extern GQueue dconf_mock_dbus_outs void dconf_mock_dbus_async_reply (GVariant *reply, GError *error); -void dconf_mock_dbus_assert_no_aync (void); +void dconf_mock_dbus_assert_no_async (void); void dconf_mock_shm_reset (void); gint dconf_mock_shm_flag (const gchar *name); diff --git a/tests/engine.c b/tests/engine.c index 8908dfe..05febd0 100644 --- a/tests/engine.c +++ b/tests/engine.c @@ -1116,7 +1116,7 @@ test_watch_fast (void) /* both AddMatch results come back before shm is flagged */ dconf_mock_dbus_async_reply (triv, NULL); dconf_mock_dbus_async_reply (triv, NULL); - dconf_mock_dbus_assert_no_aync (); + dconf_mock_dbus_assert_no_async (); dconf_mock_shm_flag ("user"); b = dconf_engine_get_state (engine); g_assert_cmpuint (a, !=, b); @@ -1124,7 +1124,7 @@ test_watch_fast (void) dconf_engine_unwatch_fast (engine, "/a/b/c"); dconf_mock_dbus_async_reply (triv, NULL); dconf_mock_dbus_async_reply (triv, NULL); - dconf_mock_dbus_assert_no_aync (); + dconf_mock_dbus_assert_no_async (); /* Establish a watch and fail the race. */ a = dconf_engine_get_state (engine); @@ -1137,14 +1137,14 @@ test_watch_fast (void) dconf_mock_dbus_async_reply (triv, NULL); dconf_mock_shm_flag ("user"); dconf_mock_dbus_async_reply (triv, NULL); - dconf_mock_dbus_assert_no_aync (); + dconf_mock_dbus_assert_no_async (); b = dconf_engine_get_state (engine); g_assert_cmpuint (a, !=, b); g_assert_cmpstr (change_log->str, ==, "/:1::nil;"); dconf_engine_unwatch_fast (engine, "/a/b/c"); dconf_mock_dbus_async_reply (triv, NULL); dconf_mock_dbus_async_reply (triv, NULL); - dconf_mock_dbus_assert_no_aync (); + dconf_mock_dbus_assert_no_async (); dconf_mock_gvdb_install ("/HOME/.config/dconf/user", NULL); dconf_mock_gvdb_install ("/etc/dconf/db/site", NULL); |