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

Unified Diff: dbus/string_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
« no previous file with comments | « dbus/message_unittest.cc ('k') | dbus/values_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/string_util_unittest.cc
diff --git a/dbus/string_util_unittest.cc b/dbus/string_util_unittest.cc
index 76bdfcbd2bdc56ad22d5550ce43e0cec7cc98c6c..99eb691049105df348cbe0758c38cf02bdc38866 100644
--- a/dbus/string_util_unittest.cc
+++ b/dbus/string_util_unittest.cc
@@ -10,7 +10,7 @@ TEST(StringUtilTest, IsValidObjectPath) {
EXPECT_TRUE(dbus::IsValidObjectPath("/foo/bar"));
EXPECT_TRUE(dbus::IsValidObjectPath("/hoge_fuga/piyo123"));
// Empty string.
- EXPECT_FALSE(dbus::IsValidObjectPath(""));
+ EXPECT_FALSE(dbus::IsValidObjectPath(std::string()));
// Emptyr elemnt.
EXPECT_FALSE(dbus::IsValidObjectPath("//"));
EXPECT_FALSE(dbus::IsValidObjectPath("/foo//bar"));
« no previous file with comments | « dbus/message_unittest.cc ('k') | dbus/values_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698