]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Tweak test case text so it's clearer
authorEsteban Manchado Velázquez <emanchado@demiurgo.org>
Sat, 11 Feb 2012 21:33:49 +0000 (22:33 +0100)
committerNick Mathewson <nickm@torproject.org>
Fri, 9 Mar 2012 01:49:26 +0000 (20:49 -0500)
src/test/test_util.c

index fe6f4d7e3df34586f1882f8a00782ca5ceab509c..f5adad9390b82b74e2fffb921f5523e0156ece09 100644 (file)
@@ -1514,7 +1514,7 @@ test_util_find_str_at_start_of_line(void *ptr)
   char *line2 = strchr(long_string,'\n')+1;
   char *line3 = strchr(line2,'\n')+1;
   const char *short_string = "hello kitty\n"
-    "third line\n";
+    "second line\n";
   char *short_line2 = strchr(short_string,'\n')+1;
 
   (void)ptr;
@@ -1535,7 +1535,7 @@ test_util_find_str_at_start_of_line(void *ptr)
   test_eq_ptr(line3, find_str_at_start_of_line(long_string, "third line"));
   test_eq_ptr(NULL,  find_str_at_start_of_line(long_string, "third line\n"));
   test_eq_ptr(short_line2, find_str_at_start_of_line(short_string,
-                                                     "third line\n"));
+                                                     "second line\n"));
  done:
   ;
 }