diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-18 23:22:33 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-18 23:22:33 +0000 |
commit | 9b2dda1d525555d236ebaff7cf6f658937383549 (patch) | |
tree | 9c92a3f82a874e0bcac459de4abcaaaca4d12f12 /net/disk_cache/backend_unittest.cc | |
parent | 86cbe78d10026df1273c3939d967c6d1faeb82dd (diff) | |
download | chromium_src-9b2dda1d525555d236ebaff7cf6f658937383549.zip chromium_src-9b2dda1d525555d236ebaff7cf6f658937383549.tar.gz chromium_src-9b2dda1d525555d236ebaff7cf6f658937383549.tar.bz2 |
Disk cache: A few minor fixes to make coverity happy.
Review URL: http://codereview.chromium.org/48155
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12028 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/backend_unittest.cc')
-rw-r--r-- | net/disk_cache/backend_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/disk_cache/backend_unittest.cc b/net/disk_cache/backend_unittest.cc index 4b61133..63d5a28 100644 --- a/net/disk_cache/backend_unittest.cc +++ b/net/disk_cache/backend_unittest.cc @@ -507,10 +507,10 @@ void DiskCacheBackendTest::BackendEnumerations() { if (count < kNumEntries) { last_modified[count] = entry->GetLastModified(); last_used[count] = entry->GetLastUsed(); + EXPECT_TRUE(initial <= last_modified[count]); + EXPECT_TRUE(final >= last_modified[count]); } - EXPECT_TRUE(initial <= last_modified[count]); - EXPECT_TRUE(final >= last_modified[count]); entry->Close(); count++; }; |