mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user