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

Unified Diff: courgette/bsdiff_memory_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
« no previous file with comments | « content/test/layout_browsertest.cc ('k') | crypto/ec_private_key_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/bsdiff_memory_unittest.cc
diff --git a/courgette/bsdiff_memory_unittest.cc b/courgette/bsdiff_memory_unittest.cc
index f1718e2aa9e7be5b019c9011e426df0d25ed3c8b..fe9fae6ed02f31a158c346485123091e11909933 100644
--- a/courgette/bsdiff_memory_unittest.cc
+++ b/courgette/bsdiff_memory_unittest.cc
@@ -51,15 +51,15 @@ std::string BSDiffMemoryTest::GenerateSyntheticInput(size_t length, int seed)
}
TEST_F(BSDiffMemoryTest, TestEmpty) {
- GenerateAndTestPatch("", "");
+ GenerateAndTestPatch(std::string(), std::string());
}
TEST_F(BSDiffMemoryTest, TestEmptyVsNonempty) {
- GenerateAndTestPatch("", "xxx");
+ GenerateAndTestPatch(std::string(), "xxx");
}
TEST_F(BSDiffMemoryTest, TestNonemptyVsEmpty) {
- GenerateAndTestPatch("xxx", "");
+ GenerateAndTestPatch("xxx", std::string());
}
TEST_F(BSDiffMemoryTest, TestSmallInputsWithSmallChanges) {
« no previous file with comments | « content/test/layout_browsertest.cc ('k') | crypto/ec_private_key_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698