Mercurial > pidgin
diff libpurple/tests/test_util.c @ 21612:18fb032a602a
Fix the bug in purple_str_to_time() that was causing 'make check' to fail.
Also fix the test value that 'make check' was using. that didn't help ;-)
| author | Stu Tomlinson <stu@nosnilmot.com> |
|---|---|
| date | Thu, 22 Nov 2007 16:37:08 +0000 |
| parents | 1dd6704cd187 |
| children | a67c0aa4db9c |
line wrap: on
line diff
--- a/libpurple/tests/test_util.c Thu Nov 22 16:32:56 2007 +0000 +++ b/libpurple/tests/test_util.c Thu Nov 22 16:37:08 2007 +0000 @@ -76,7 +76,7 @@ START_TEST(test_util_str_to_time) { - fail_unless(377185800 == purple_str_to_time("19811214T12:50:00", TRUE, NULL, NULL, NULL)); + fail_unless(377182200 == purple_str_to_time("19811214T12:50:00", TRUE, NULL, NULL, NULL)); fail_unless(1175919261 == purple_str_to_time("20070407T04:14:21", TRUE, NULL, NULL, NULL)); } END_TEST
