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

Unified Diff: chrome/browser/google_apis/operation_util_unittest.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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
Index: chrome/browser/google_apis/operation_util_unittest.cc
diff --git a/chrome/browser/google_apis/operation_util_unittest.cc b/chrome/browser/google_apis/operation_util_unittest.cc
index 8a8ffe4fe724d87ba000f1f7762edfe2035d27bd..14e4c5dd2b5125243412eaa1f0f20e1c23644e36 100644
--- a/chrome/browser/google_apis/operation_util_unittest.cc
+++ b/chrome/browser/google_apis/operation_util_unittest.cc
@@ -11,7 +11,7 @@ namespace util {
TEST(GenerateIfMatchHeaderTest, GenerateIfMatchHeader) {
// The header matched to all etag should be returned for empty etag.
- EXPECT_EQ("If-Match: *", GenerateIfMatchHeader(""));
+ EXPECT_EQ("If-Match: *", GenerateIfMatchHeader(std::string()));
// Otherwise, the returned header should be matched to the given etag.
EXPECT_EQ("If-Match: abcde", GenerateIfMatchHeader("abcde"));

Powered by Google App Engine
This is Rietveld 408576698