Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1459)

Unified Diff: chrome/installer/util/product_unittest.cc

Issue 10827174: Fix backwards use of EXPECT_OP in test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/product_unittest.cc
diff --git a/chrome/installer/util/product_unittest.cc b/chrome/installer/util/product_unittest.cc
index ea49638f21f9607f338673aa9c7cc9c5417ebbb9..cd5bbd4746f35ec0ac52540cb93b251c43c5d288 100644
--- a/chrome/installer/util/product_unittest.cc
+++ b/chrome/installer/util/product_unittest.cc
@@ -73,7 +73,7 @@ TEST_F(ProductTest, MAYBE_ProductInstallBasic) {
std::vector<FilePath> user_data_paths;
product->GetUserDataPaths(&user_data_paths);
- EXPECT_LE(static_cast<size_t>(1), user_data_paths.size());
+ EXPECT_GE(user_data_paths.size(), static_cast<size_t>(1));
const FilePath& user_data = user_data_paths[0];
EXPECT_FALSE(user_data_paths[0].empty());
EXPECT_NE(std::wstring::npos,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698