diff options
Diffstat (limited to 'base/values_unittest.cc')
-rw-r--r-- | base/values_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/values_unittest.cc b/base/values_unittest.cc index 98bc73c..bad83fa 100644 --- a/base/values_unittest.cc +++ b/base/values_unittest.cc @@ -599,7 +599,7 @@ TEST(ValuesTest, RemoveEmptyChildren) { // Make sure we don't prune too much. root->SetBoolean("bool", true); root->Set("empty_dict", new DictionaryValue); - root->SetString("empty_string", ""); + root->SetString("empty_string", std::string()); root.reset(root->DeepCopyWithoutEmptyChildren()); EXPECT_EQ(2U, root->size()); |