test-region: Replace spice_assert() with g_assert_true()

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
Christophe Fergeau 2018-06-27 11:47:21 +02:00 committed by Frediano Ziglio
parent 968ce158f0
commit cfbae20c48

View File

@ -73,7 +73,7 @@ static void rect_set(SpiceRect *r, int32_t top, int32_t left, int32_t bottom, in
r->left = left;
r->bottom = bottom;
r->right = right;
spice_assert(rect_is_valid(r));
g_assert_true(rect_is_valid(r));
}
static void random_region(QRegion *reg)