mirror of
https://github.com/mirror/wget.git
synced 2025-01-27 12:50:13 +08:00
Move declaration before statements.
This commit is contained in:
parent
6b3234ca2a
commit
7fc6af0faf
@ -1,3 +1,8 @@
|
||||
2008-04-22 Alain Guibert <alguibert+bts@free.fr>
|
||||
|
||||
* test.h (mu_run_test): Move declaration before statements, for
|
||||
C90 conformance.
|
||||
|
||||
2008-04-22 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* Makefile.am: Move @LIBS@ after other libraries, for better
|
||||
|
@ -34,8 +34,9 @@ as that of the covered work. */
|
||||
#define mu_assert(message, test) do { if (!(test)) return message; } while (0)
|
||||
#define mu_run_test(test) \
|
||||
do { \
|
||||
const char *message; \
|
||||
puts("RUNNING TEST " #test "..."); \
|
||||
const char *message = test(); \
|
||||
message = test(); \
|
||||
tests_run++; \
|
||||
if (message) return message; \
|
||||
puts("PASSED\n"); \
|
||||
|
Loading…
Reference in New Issue
Block a user