Index: net/base/escape_unittest.cc |
=================================================================== |
--- net/base/escape_unittest.cc (revision 221015) |
+++ net/base/escape_unittest.cc (working copy) |
@@ -337,10 +337,12 @@ |
TEST(EscapeTest, AdjustOffset) { |
const AdjustOffsetCase adjust_cases[] = { |
- {"", 0, std::string::npos}, |
+ {"", 0, 0}, |
+ {"", 1, std::string::npos}, |
{"test", 0, 0}, |
{"test", 2, 2}, |
- {"test", 4, std::string::npos}, |
+ {"test", 4, 4}, |
+ {"test", 5, std::string::npos}, |
{"test", std::string::npos, std::string::npos}, |
{"%2dtest", 6, 4}, |
{"%2dtest", 2, std::string::npos}, |