Commit bf80e9bb authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Delete BuildTime.NotTooFar

The test no longer makes sense after
https://chromium-review.googlesource.com/c/chromium/src/+/1167913

Bug: 584880,587694
Change-Id: Idf6aab122079da6436c972ee694aab9414a626ac
Reviewed-on: https://chromium-review.googlesource.com/1176444Reviewed-by: default avatarMarc-Antoine Ruel <maruel@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#583486}
parent dcf58536
...@@ -29,9 +29,3 @@ TEST(BuildTime, InThePast) { ...@@ -29,9 +29,3 @@ TEST(BuildTime, InThePast) {
EXPECT_LT(base::GetBuildTime(), base::Time::Now()); EXPECT_LT(base::GetBuildTime(), base::Time::Now());
EXPECT_LT(base::GetBuildTime(), base::Time::NowFromSystemTime()); EXPECT_LT(base::GetBuildTime(), base::Time::NowFromSystemTime());
} }
TEST(BuildTime, NotTooFar) {
// BuildTime must be less than 45 days old.
base::Time cutoff(base::Time::Now() - base::TimeDelta::FromDays(45));
EXPECT_GT(base::GetBuildTime(), cutoff);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment