diff options
author | Ryan Lortie <desrt@desrt.ca> | 2013-11-25 00:31:12 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2013-11-25 00:34:44 -0500 |
commit | 89e10a962aa3b36bb5a28cd8b7cb4a80471a7719 (patch) | |
tree | 19145bd88032b29261c4e17187b763391465b3b1 | |
parent | 3c6ef28a349bf7b1e824139df3552111db61b3be (diff) | |
download | dconf-89e10a962aa3b36bb5a28cd8b7cb4a80471a7719.tar.gz |
tests: fix a trivial error in the engine test
Instead of checking the D-Bus interface name we were checking the
bus name twice.
-rw-r--r-- | tests/engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/engine.c b/tests/engine.c index 62b5b1e..dfeded4 100644 --- a/tests/engine.c +++ b/tests/engine.c @@ -832,7 +832,7 @@ handle_match_request (GBusType bus_type, g_assert_cmpstr (bus_name, ==, "org.freedesktop.DBus"); /* any object path works... */ - g_assert_cmpstr (bus_name, ==, "org.freedesktop.DBus"); + g_assert_cmpstr (interface_name, ==, "org.freedesktop.DBus"); g_assert_cmpstr (method_name, ==, match_request_type); g_assert_cmpstr (g_variant_get_type_string (parameters), ==, "(s)"); g_variant_get (parameters, "(&s)", &match_rule); |