tests: Port various tests to use g_assert_cmpvariant()

This should improve test error reporting a little.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall
2018-12-14 15:04:11 +00:00
parent 8a2fa212e7
commit d289ef449b
5 changed files with 19 additions and 30 deletions

View File

@@ -515,7 +515,7 @@ test_parse_detailed (void)
expected = g_variant_parse (NULL, testcases[i].expected_target, NULL, NULL, NULL);
g_assert (expected);
g_assert (g_variant_equal (expected, target));
g_assert_cmpvariant (expected, target);
g_variant_unref (expected);
g_variant_unref (target);
}