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 teststr.c
Date Tue, 25 May 2004 12:46:15 GMT
jorton      2004/05/25 05:46:15

  Modified:    test     teststr.c
  Log:
  * test/teststr.c (string_strtoff): Fix failure messages.
  
  Revision  Changes    Path
  1.23      +2 -2      apr/test/teststr.c
  
  Index: teststr.c
  ===================================================================
  RCS file: /home/cvs/apr/test/teststr.c,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -d -u -r1.22 -r1.23
  --- teststr.c	24 May 2004 09:33:27 -0000	1.22
  +++ teststr.c	25 May 2004 12:46:15 -0000	1.23
  @@ -254,10 +254,10 @@
                   apr_strtoff(&off, "999999999999999999999999999999",
                               NULL, 10) != APR_SUCCESS);
   
  -    ABTS_ASSERT(tc, "strtoff does not fail on 1234",
  +    ABTS_ASSERT(tc, "strtoff failed for 1234",
                   apr_strtoff(&off, "1234", NULL, 10) == APR_SUCCESS);
   
  -    ABTS_ASSERT(tc, "strtoff parsed 1234 correctly,", off == 1234);
  +    ABTS_ASSERT(tc, "strtoff failed to parse 1234", off == 1234);
   }
   
   abts_suite *teststr(abts_suite *suite)
  
  
  

Mime
View raw message