Commit 1650d77b authored by Simon McVittie's avatar Simon McVittie

Fix assertion in regression test to be equality test, not assignment

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88088
parent 4a7cb0cb
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment