| Index: net/ftp/ftp_directory_listing_parser_unittest.cc
|
| diff --git a/net/ftp/ftp_directory_listing_parser_unittest.cc b/net/ftp/ftp_directory_listing_parser_unittest.cc
|
| index 5c98c23f6301c757e10645ae62b65e899fdf00ce..583426d98d7032b35ce7ea20fa4a293168236397 100644
|
| --- a/net/ftp/ftp_directory_listing_parser_unittest.cc
|
| +++ b/net/ftp/ftp_directory_listing_parser_unittest.cc
|
| @@ -69,8 +69,8 @@ TEST_P(FtpDirectoryListingParserTest, Parse) {
|
| test_dir.AppendASCII(std::string(param.name) + ".expected"),
|
| &expected_listing));
|
|
|
| - std::vector<std::string> lines;
|
| - base::SplitStringUsingSubstr(expected_listing, "\r\n", &lines);
|
| + std::vector<std::string> lines = base::SplitStringUsingSubstr(
|
| + expected_listing, "\r\n", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
|
|
|
| // Special case for empty listings.
|
| if (lines.size() == 1 && lines[0].empty())
|
|
|