]> granicus.if.org Git - curl/commitdiff
tests: Fixed header files to comply with our code style
authorSteve Holme <steve_holme@hotmail.com>
Sun, 3 Apr 2016 20:51:47 +0000 (21:51 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 3 Apr 2016 20:57:38 +0000 (21:57 +0100)
tests/libtest/test.h
tests/unit/curlcheck.h

index 6b699fc3acef71e9d371f3ea3254073a678cd3bb..9647658db8b589438328f323810680c304b40931 100644 (file)
@@ -355,7 +355,7 @@ extern int unitfail;
 
 #define exe_select_test(A, B, C, D, E, Y, Z) do {               \
     int ec;                                                     \
-    if(select_wrapper((A), (B), (C), (D), (E)) == -1 ) {        \
+    if(select_wrapper((A), (B), (C), (D), (E)) == -1) {         \
       ec = SOCKERRNO;                                           \
       fprintf(stderr, "%s:%d select() failed, with "            \
               "errno %d (%s)\n",                                \
index db813db7c62bff7c32c1d06bcf97a6df5236615c..0660e2bedd40ae8a1910b883dfd70c284b1a75cc 100644 (file)
@@ -24,7 +24,7 @@
 /* The fail macros mark the current test step as failed, and continue */
 #define fail_if(expr, msg)                              \
   if(expr) {                                            \
-    fprintf(stderr, "%s:%d Assertion '%s' met: %s\n" ,  \
+    fprintf(stderr, "%s:%d Assertion '%s' met: %s\n"  \
             __FILE__, __LINE__, #expr, msg);            \
     unitfail++;                                         \
   }
@@ -57,7 +57,7 @@
 /* The abort macros mark the current test step as failed, and exit the test */
 #define abort_if(expr, msg)                                   \
   if(expr) {                                                  \
-    fprintf(stderr, "%s:%d Abort assertion '%s' met: %s\n" ,  \
+    fprintf(stderr, "%s:%d Abort assertion '%s' met: %s\n"  \
             __FILE__, __LINE__, #expr, msg);                  \
     unitfail++;                                               \
     goto unit_test_abort;                                     \