Commit f5493597 authored by Christian Kellner's avatar Christian Kellner

test/common: check result in _propagate_stripped

The error (out) variable was checked but not the return value,
which should be 'false' in case the error is set.
parent d232b261
......@@ -330,6 +330,7 @@ test_error (TestRng *tt, gconstpointer user_data)
ok = bolt_error_propagate_stripped (&target, &source);
g_assert_error (target, BOLT_ERROR, BOLT_ERROR_BADKEY);
g_assert_false (ok);
g_assert_false (g_dbus_error_is_remote_error (target));
g_assert_cmpstr (target->message, ==, buserr->message);
......
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