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

Unified Diff: crypto/ec_private_key_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 | « courgette/bsdiff_memory_unittest.cc ('k') | crypto/ec_signature_creator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/ec_private_key_unittest.cc
diff --git a/crypto/ec_private_key_unittest.cc b/crypto/ec_private_key_unittest.cc
index a052a9a6d4817263fb5307f9d62ac74956573c81..d2ec256deda7461cd6ef8626437c66a3fae8d196 100644
--- a/crypto/ec_private_key_unittest.cc
+++ b/crypto/ec_private_key_unittest.cc
@@ -23,7 +23,7 @@ TEST(ECPrivateKeyUnitTest, OpenSSLStub) {
// back the same exact public key, and the private key should have the same
// value and elliptic curve params.
TEST(ECPrivateKeyUnitTest, InitRandomTest) {
- const std::string password1 = "";
+ const std::string password1;
const std::string password2 = "test";
scoped_ptr<crypto::ECPrivateKey> keypair1(
@@ -86,7 +86,7 @@ TEST(ECPrivateKeyUnitTest, InitRandomTest) {
}
TEST(ECPrivateKeyUnitTest, BadPasswordTest) {
- const std::string password1 = "";
+ const std::string password1;
const std::string password2 = "test";
scoped_ptr<crypto::ECPrivateKey> keypair1(
« no previous file with comments | « courgette/bsdiff_memory_unittest.cc ('k') | crypto/ec_signature_creator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698