diff options
author | Esteban Manchado Velázquez <emanchado@demiurgo.org> | 2012-02-05 01:21:33 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-03-08 20:49:18 -0500 |
commit | 73d9868232b2376a8cd053a50270acbafb27d2c2 (patch) | |
tree | 615c0f50d48efb66cd99552febff3f587ee9af82 /src/test/test_util.c | |
parent | ab39382cf8297229f94171da1e38af6d26400231 (diff) | |
download | tor-73d9868232b2376a8cd053a50270acbafb27d2c2.tar.gz tor-73d9868232b2376a8cd053a50270acbafb27d2c2.zip |
Trivial cosmetic fix in test comments
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r-- | src/test/test_util.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c index ca82fbeb61..61bcbfb3c7 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -24,7 +24,7 @@ test_util_time(void) int i; struct timeval tv; - /* tv_udiff tests */ + /* Test tv_udiff */ start.tv_sec = 5; start.tv_usec = 5000; @@ -51,7 +51,7 @@ test_util_time(void) test_eq(-1005000L, tv_udiff(&start, &end)); - /* tor_timegm tests */ + /* Test tor_timegm */ /* The test values here are confirmed to be correct on a platform * with a working timegm. */ @@ -69,7 +69,7 @@ test_util_time(void) test_eq((time_t) 1076393695UL, tor_timegm(&a_time)); - /* {format,parse}_rfc1123_time tests */ + /* Test {format,parse}_rfc1123_time */ format_rfc1123_time(timestr, 0); test_streq("Thu, 01 Jan 1970 00:00:00 GMT", timestr); @@ -83,7 +83,7 @@ test_util_time(void) test_eq(-1, parse_rfc1123_time("Wed, zz Aug 2004 99-99x99 GMT", &t_res)); - /* tor_gettimeofday tests */ + /* Test tor_gettimeofday */ end.tv_sec = 4; end.tv_usec = 999990; @@ -97,7 +97,7 @@ test_util_time(void) tt_int_op(tv_udiff(&start, &end), >=, -5000); - /* format_iso_time tests */ + /* Test format_iso_time */ tv.tv_sec = (time_t)1326296338; tv.tv_usec = 3060; |