diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-04-05 23:54:15 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-04-05 23:54:15 +0200 |
| commit | 6c9cee14107f7c33787bab5873652677ae18e476 (patch) | |
| tree | b6d1739490a2783601207d510148ff843ded379b | |
| parent | cc48190e506e4925d8416fc7e6a66a04359916b6 (diff) | |
Fix tests with daylight savings time.
| -rw-r--r-- | test/util_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/util_test.cc b/test/util_test.cc index f50a1620e..5273aa323 100644 --- a/test/util_test.cc +++ b/test/util_test.cc @@ -200,7 +200,7 @@ BOOST_AUTO_TEST_CASE(rfc_2822_date_test) auto test = rfc_2822_date(day_index * day); BOOST_CHECK( test == fmt::format(format, hours, tz) || - test == fmt::format(format, hours + 1, tz) + test == fmt::format(format, hours - 1, tz) ); }; |
