Removes testing::internal::String::Format(), which causes problems as it truncates the result at 4096 chars. Also update an obsolete link in comment.

This commit is contained in:
kosak
2013-02-22 20:10:40 +00:00
parent 65b5c22436
commit cc1fdb58ca
13 changed files with 176 additions and 232 deletions

View File

@@ -182,7 +182,7 @@ FilePath FilePath::MakeFileName(const FilePath& directory,
if (number == 0) {
file = base_name.string() + "." + extension;
} else {
file = base_name.string() + "_" + String::Format("%d", number).c_str()
file = base_name.string() + "_" + StreamableToString(number)
+ "." + extension;
}
return ConcatPaths(directory, FilePath(file));