Index: base/version_unittest.cc |
=================================================================== |
--- base/version_unittest.cc (revision 94719) |
+++ base/version_unittest.cc (working copy) |
@@ -85,5 +85,7 @@ |
scoped_ptr<Version> rhs(Version::GetVersionFromString(cases[i].rhs)); |
EXPECT_EQ(lhs->CompareTo(*rhs), cases[i].expected) << |
cases[i].lhs << " ? " << cases[i].rhs; |
+ |
+ EXPECT_EQ(lhs->IsOlderThan(cases[i].rhs), (cases[i].expected == -1)); |
} |
} |