Skip to content

Commit

Permalink
tests: fix tests after changing requested untilYear to 2200 from 10000
Browse files Browse the repository at this point in the history
  • Loading branch information
bxparks committed Jun 15, 2023
1 parent 6a92d0e commit 2a25dcc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/CompleteBrokerTest/CompleteBrokerTest.ino
Expand Up @@ -88,7 +88,7 @@ test(CompleteBrokerTest, ZoneInfoBroker) {
assertEqual("America/Los_Angeles", info.name());
assertEqual((uint32_t) 0xb7f7e8f2, info.zoneId());
assertEqual(1980, info.zoneContext().startYear());
assertEqual(10000, info.zoneContext().untilYear());
assertEqual(2200, info.zoneContext().untilYear());
assertEqual(1980, info.zoneContext().startYearAccurate());
assertEqual(ZoneContext::kMaxUntilYear,
info.zoneContext().untilYearAccurate());
Expand Down
2 changes: 1 addition & 1 deletion tests/ExtendedBrokerTest/ExtendedBrokerTest.ino
Expand Up @@ -88,7 +88,7 @@ test(ExtendedBrokerTest, ZoneInfoBroker) {
assertEqual("America/Los_Angeles", info.name());
assertEqual((uint32_t) 0xb7f7e8f2, info.zoneId());
assertEqual(1980, info.zoneContext().startYear());
assertEqual(10000, info.zoneContext().untilYear());
assertEqual(2200, info.zoneContext().untilYear());
assertEqual(1980, info.zoneContext().startYearAccurate());
assertEqual(ZoneContext::kMaxUntilYear,
info.zoneContext().untilYearAccurate());
Expand Down
Expand Up @@ -919,7 +919,7 @@ test(ExtendedZoneProcessorTest, findByEpochSeconds_outOfBounds) {

ZoneContextBroker zoneContextBroker(&kZoneContext);
assertEqual(1980, zoneContextBroker.startYear());
assertEqual(10000, zoneContextBroker.untilYear());
assertEqual(2200, zoneContextBroker.untilYear());

// 1970 > LocalDate::kMinYear so dt is valid, and
dt = OffsetDateTime::forComponents(1970, 3, 11, 1, 59, 59,
Expand Down

0 comments on commit 2a25dcc

Please sign in to comment.