| Index: chrome/browser/download/download_path_reservation_tracker_unittest.cc
|
| diff --git a/chrome/browser/download/download_path_reservation_tracker_unittest.cc b/chrome/browser/download/download_path_reservation_tracker_unittest.cc
|
| index 60229318ead5257c4503e754887627818f3b1f39..4209317254cf42450a2387183ec8d1e1103bb149 100644
|
| --- a/chrome/browser/download/download_path_reservation_tracker_unittest.cc
|
| +++ b/chrome/browser/download/download_path_reservation_tracker_unittest.cc
|
| @@ -340,10 +340,12 @@ TEST_F(DownloadPathReservationTrackerTest, UnresolvedConflicts) {
|
| base::FilePath reserved_path;
|
| base::FilePath expected_path;
|
| bool verified = false;
|
| - if (i > 0)
|
| - expected_path = path.InsertBeforeExtensionASCII(StringPrintf(" (%d)", i));
|
| - else
|
| + if (i > 0) {
|
| + expected_path =
|
| + path.InsertBeforeExtensionASCII(base::StringPrintf(" (%d)", i));
|
| + } else {
|
| expected_path = path;
|
| + }
|
| items[i].reset(CreateDownloadItem(i));
|
| EXPECT_FALSE(IsPathInUse(expected_path));
|
| CallGetReservedPath(*items[i], path, true, &reserved_path, &verified);
|
|
|