Index: chrome/browser/apps/ephemeral_app_service_unittest.cc |
diff --git a/chrome/browser/apps/ephemeral_app_service_unittest.cc b/chrome/browser/apps/ephemeral_app_service_unittest.cc |
index ff0306e909fffe02b7fc3b672d0e80d2677cdec6..6b40cfef5031458649120d3b13b14951e0da1e47 100644 |
--- a/chrome/browser/apps/ephemeral_app_service_unittest.cc |
+++ b/chrome/browser/apps/ephemeral_app_service_unittest.cc |
@@ -73,14 +73,14 @@ class EphemeralAppServiceTest : public testing::Test { |
if (launch_times.empty()) |
return; |
- // Verify that the removed apps have launch times earlier than all retained |
- // apps. We can actually just compare with the first entry in |launch_times| |
- // but will make no implementation assumptions. |
+ // Verify that the removed apps have launch times earlier than or equal to |
+ // all retained apps. We can actually just compare with the first entry in |
+ // |launch_times| but will make no implementation assumptions. |
for (LaunchTimeAppMap::const_iterator removed = removed_apps.begin(); |
removed != removed_apps.end(); ++removed) { |
for (LaunchTimeAppMap::iterator retained = launch_times.begin(); |
retained != launch_times.end(); ++retained) { |
- EXPECT_TRUE(removed->first < retained->first); |
+ EXPECT_LE(removed->first, retained->first); |
} |
} |
} |