apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: apr/test abts.c
Date Mon, 24 May 2004 09:19:02 GMT
jorton      2004/05/24 02:19:02

  Modified:    test     abts.c
  Log:
  * test/abts.c (abts_ptr_notnull, abts_assert, abts_true,
  abts_not_impl): Consistently add a newline after an error message.
  
  Revision  Changes    Path
  1.5       +4 -4      apr/test/abts.c
  
  Index: abts.c
  ===================================================================
  RCS file: /home/cvs/apr/test/abts.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -d -u -r1.4 -r1.5
  --- abts.c	23 May 2004 19:51:56 -0000	1.4
  +++ abts.c	24 May 2004 09:19:02 -0000	1.5
  @@ -262,7 +262,7 @@
   
       tc->failed = TRUE;
       if (verbose) {
  -        fprintf(stderr, "Line %d: Expected NULL, but saw <%p>", lineno, ptr);
  +        fprintf(stderr, "Line %d: Expected NULL, but saw <%p>\n", lineno, ptr);
           fflush(stderr);
       }
   }
  @@ -302,7 +302,7 @@
   
       tc->failed = TRUE;
       if (verbose) {
  -        fprintf(stderr, "Line %d: %s", lineno, message);
  +        fprintf(stderr, "Line %d: %s\n", lineno, message);
           fflush(stderr);
       }
   }
  @@ -316,7 +316,7 @@
   
       tc->failed = TRUE;
       if (verbose) {
  -        fprintf(stderr, "Line %d: Condition is false, but expected true", lineno);
  +        fprintf(stderr, "Line %d: Condition is false, but expected true\n", lineno);
           fflush(stderr);
       }
   }
  @@ -327,7 +327,7 @@
   
       tc->suite->not_impl++;
       if (verbose) {
  -        fprintf(stderr, "Line %d: %s", lineno, message);
  +        fprintf(stderr, "Line %d: %s\n", lineno, message);
           fflush(stderr);
       }
   }
  
  
  

Mime
View raw message