compare-render: Assert that no error has been set

Much better error message than just the one from the node != NULL
assertion in the next line.
This commit is contained in:
Timm Bäder 2019-02-23 07:57:12 +01:00
parent 58c2bea959
commit 74ab3cdf75

View File

@ -104,6 +104,7 @@ main (int argc, char **argv)
node = gsk_render_node_deserialize (bytes, &error);
g_bytes_unref (bytes);
g_assert_no_error (error);
g_assert (node != NULL);
}