aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtest-filepath.cc
diff options
context:
space:
mode:
authorkosak <kosak@google.com>2013-02-22 20:10:40 +0000
committerkosak <kosak@google.com>2013-02-22 20:10:40 +0000
commitcc1fdb58caf8d5ac9b858f615d3c42267fc5e258 (patch)
tree2821e8cd493ff783f47570fe991fc3ceab776ec7 /src/gtest-filepath.cc
parent65b5c22436fab922ea791b9b39a8fe154f0849f8 (diff)
downloadgoogletest-cc1fdb58caf8d5ac9b858f615d3c42267fc5e258.tar.gz
googletest-cc1fdb58caf8d5ac9b858f615d3c42267fc5e258.tar.bz2
googletest-cc1fdb58caf8d5ac9b858f615d3c42267fc5e258.zip
Removes testing::internal::String::Format(), which causes problems as it truncates the result at 4096 chars. Also update an obsolete link in comment.
Diffstat (limited to 'src/gtest-filepath.cc')
-rw-r--r--src/gtest-filepath.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtest-filepath.cc b/src/gtest-filepath.cc
index 4d40cb96..708389d1 100644
--- a/src/gtest-filepath.cc
+++ b/src/gtest-filepath.cc
@@ -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));