Add some additional tests to purple_str_to_time and address their failures.
Review Request #931 — Created Sept. 22, 2021 and submitted
Add some additional tests to purple_str_to_time and address their failures.
Ran the unit tests with all sorts of values for
TZ
and made sure they passed.
-
-
libpurple/tests/test_util.c (Diff revision 1) This must be duplicated or it might be overwritten by the
g_setenv
.
Change Summary:
Reworked str_to_time to keep bugs from old version, I'm like 90% certain this right...
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+186 -134) |
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+186 -134) |