Commit 344e005c authored by Simon McVittie's avatar Simon McVittie
Browse files

test: Replace remaining g_assert (!x) with g_assert_false (x)



Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
parent 26620f49
......@@ -239,7 +239,7 @@ test_timeout (Fixture *f,
G_TYPE_INVALID);
g_assert_error (error, DBUS_GERROR, DBUS_GERROR_NO_REPLY);
g_assert (!ok);
g_assert_false (ok);
g_clear_error (&error);
}
......
......@@ -192,7 +192,7 @@ test_disconnect (Fixture *f,
ok = dbus_g_proxy_end_call (f->proxy, fail, &error,
G_TYPE_INVALID);
g_assert_error (error, DBUS_GERROR, DBUS_GERROR_DISCONNECTED);
g_assert (!ok);
g_assert_false (ok);
g_clear_error (&error);
while (!f->proxy_destroyed)
......
......@@ -184,7 +184,7 @@ test_simple_not_equiv (void)
v1 = g_variant_new_int32 (1982);
v2 = g_variant_new_int32 (1984);
g_assert (!test_g_variant_equivalent (v1, v2));
g_assert_false (test_g_variant_equivalent (v1, v2));
g_variant_unref (v1);
g_variant_unref (v2);
......@@ -209,7 +209,7 @@ test_array_not_equiv (void)
g_variant_builder_add (&b, "v", g_variant_new_object_path ("/cats/escher"));
v2 = g_variant_builder_end (&b);
g_assert (!test_g_variant_equivalent (v1, v2));
g_assert_false (test_g_variant_equivalent (v1, v2));
g_variant_unref (v1);
g_variant_unref (v2);
......@@ -259,7 +259,7 @@ test_map_not_equiv1 (void)
g_variant_builder_add (&b, "{os}", "/cats/rory", "Rory Cat");
v2 = g_variant_builder_end (&b);
g_assert (!test_g_variant_equivalent (v1, v2));
g_assert_false (test_g_variant_equivalent (v1, v2));
g_variant_unref (v1);
g_variant_unref (v2);
......@@ -283,7 +283,7 @@ test_map_not_equiv2 (void)
g_variant_builder_add (&b, "{os}", "/cats/josh", "Josh Cat");
v2 = g_variant_builder_end (&b);
g_assert (!test_g_variant_equivalent (v1, v2));
g_assert_false (test_g_variant_equivalent (v1, v2));
g_variant_unref (v1);
g_variant_unref (v2);
......
Supports Markdown
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