diff options
Diffstat (limited to 'base/pickle_unittest.cc')
-rw-r--r-- | base/pickle_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/pickle_unittest.cc b/base/pickle_unittest.cc index d418fdf..d252dae 100644 --- a/base/pickle_unittest.cc +++ b/base/pickle_unittest.cc @@ -134,7 +134,7 @@ TEST(PickleTest, UnalignedSize) { TEST(PickleTest, ZeroLenStr) { Pickle pickle; - EXPECT_TRUE(pickle.WriteString("")); + EXPECT_TRUE(pickle.WriteString(std::string())); PickleIterator iter(pickle); std::string outstr; @@ -144,7 +144,7 @@ TEST(PickleTest, ZeroLenStr) { TEST(PickleTest, ZeroLenWStr) { Pickle pickle; - EXPECT_TRUE(pickle.WriteWString(L"")); + EXPECT_TRUE(pickle.WriteWString(std::wstring())); PickleIterator iter(pickle); std::string outstr; |