summaryrefslogtreecommitdiffstats
path: root/dbus/string_util_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/string_util_unittest.cc')
-rw-r--r--dbus/string_util_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/string_util_unittest.cc b/dbus/string_util_unittest.cc
index 76bdfcb..99eb691 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"));