diff options
author | Esteban Manchado Velázquez <emanchado@demiurgo.org> | 2012-02-11 22:33:49 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-03-08 20:49:26 -0500 |
commit | fa1d6f812c31d438ecd81f6f9e57a1982fa5ba52 (patch) | |
tree | 43bb891ff4644900bc263861e18bf8548d2c01dd /src/test | |
parent | 4beebea698fc2bad233d86646014847c2ec9403e (diff) | |
download | tor-fa1d6f812c31d438ecd81f6f9e57a1982fa5ba52.tar.gz tor-fa1d6f812c31d438ecd81f6f9e57a1982fa5ba52.zip |
Tweak test case text so it's clearer
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c index fe6f4d7e3d..f5adad9390 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -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: ; } |