Index: base/string_util_unittest.cc |
diff --git a/base/string_util_unittest.cc b/base/string_util_unittest.cc |
index 0ca4438fad673c1f9a1d63e7ad7fb91f6481525a..a3ca7ee1aa7d1b072e8ffeb9cda489217bae6e8f 100644 |
--- a/base/string_util_unittest.cc |
+++ b/base/string_util_unittest.cc |
@@ -1455,7 +1455,7 @@ TEST(StringUtilTest, ElideString) { |
TEST(StringUtilTest, HexEncode) { |
std::string hex(HexEncode(NULL, 0)); |
EXPECT_EQ(hex.length(), 0U); |
- unsigned char bytes[] = {0x01, 0xff, 0x02, 0xfe, 0x03}; |
+ unsigned char bytes[] = {0x01, 0xff, 0x02, 0xfe, 0x03, 0x80, 0x81}; |
hex = HexEncode(bytes, sizeof(bytes)); |
- EXPECT_EQ(hex.compare("01FF02FE03"), 0); |
+ EXPECT_EQ(hex.compare("01FF02FE038081"), 0); |
} |