X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f783ed4680c6862a1b7543237e89d1221334bae0..edde8f7fbc1b74a81551bf9eb7bac1935b999296:/teshsuite/gras/datadesc/datadesc_usage.c diff --git a/teshsuite/gras/datadesc/datadesc_usage.c b/teshsuite/gras/datadesc/datadesc_usage.c index 3c2bc0f911..9327d3cbef 100644 --- a/teshsuite/gras/datadesc/datadesc_usage.c +++ b/teshsuite/gras/datadesc/datadesc_usage.c @@ -147,7 +147,7 @@ static void test_dynar_empty(gras_socket_t sock, int direction) write_read("xbt_dynar_of_int", &i, &j, sock, direction); /* xbt_dynar_dump(j); */ if (direction == READ || direction == COPY) { - xbt_assert(xbt_dynar_length(j) == 0); + xbt_assert(xbt_dynar_is_empty(j)); xbt_dynar_free(&j); } xbt_dynar_free(&i);