X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-verify.c;h=454f4f456c558e0caddfb830b4a7f1e5619944fd;hb=6531b40e89ecb9a18480e87633f61b16286abe7e;hp=512c021b7db4cda195b5ec998895ceb00b722935;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/tests/test-verify.c b/tests/test-verify.c index 512c021b7..454f4f456 100644 --- a/tests/test-verify.c +++ b/tests/test-verify.c @@ -55,9 +55,9 @@ function (int n) verify (1 == 1); verify (1 == 1); /* should be ok */ if (n) - return ((void) verify_true (1 == 1), verify_true (1 == 1) + 7); /* should be ok */ + return ((void) verify_expr (1 == 1, 1), verify_expr (1 == 1, 8)); /* should be ok */ #if EXP_FAIL == 5 - return (verify_true (1 == 2), 5); /* should give ERROR */ + return verify_expr (1 == 2, 5); /* should give ERROR */ #endif return 0; }