Fix assertion in regression test to be equality test, not assignment
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 6 Jan 2015 22:08:47 +0000 (22:08 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 6 Jan 2015 22:08:47 +0000 (22:08 +0000)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88088

bus/signals.c

index 119d813..4390028 100644 (file)
@@ -2339,7 +2339,7 @@ test_parsing (void *data)
   rule = check_parse (TRUE, "arg7path='/foo'");
   if (rule != NULL)
     {
-      _dbus_assert (rule->flags = BUS_MATCH_ARGS);
+      _dbus_assert (rule->flags == BUS_MATCH_ARGS);
       _dbus_assert (rule->args != NULL);
       _dbus_assert (rule->args_len == 8);
       _dbus_assert (rule->args[7] != NULL);