X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-verify.c;h=454f4f456c558e0caddfb830b4a7f1e5619944fd;hb=337977d216e2759bc5b4dd3cbe223cbf8e6a9eb7;hp=3f89ba90589530e2e8b78e1ae6e1ecc865d88f15;hpb=f2cde42348744d5c0914280135564e87eaa89f4d;p=gnulib.git diff --git a/tests/test-verify.c b/tests/test-verify.c index 3f89ba905..454f4f456 100644 --- a/tests/test-verify.c +++ b/tests/test-verify.c @@ -1,6 +1,6 @@ /* Test the "verify" module. - Copyright (C) 2005, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2005, 2009-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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; }