diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/string_piece_util_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string_piece_util_test.cc b/src/string_piece_util_test.cc index b77ae84..61586dd 100644 --- a/src/string_piece_util_test.cc +++ b/src/string_piece_util_test.cc @@ -31,7 +31,7 @@ TEST(StringPieceUtilTest, SplitStringPiece) { } { - string empty(""); + string empty; vector<StringPiece> list = SplitStringPiece(empty, ':'); EXPECT_EQ(list.size(), 1); @@ -82,7 +82,7 @@ TEST(StringPieceUtilTest, JoinStringPiece) { } { - string empty(""); + string empty; vector<StringPiece> list = SplitStringPiece(empty, ':'); EXPECT_EQ("", JoinStringPiece(list, ':')); |