summaryrefslogtreecommitdiffstats
path: root/googletest/test/gtest_unittest.cc
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2017-05-02 18:16:11 (GMT)
committerGennadiy Civil <misterg@google.com>2017-05-02 18:16:11 (GMT)
commit611e8a99de2b1c049fcd65c0d32a532c1b6301d6 (patch)
treea2d81b0832231e7017dcadeeae58301ab8920124 /googletest/test/gtest_unittest.cc
parentaa148eb2b7f70ede0eb10de34b6254826bfb34f4 (diff)
downloadgoogletest-611e8a99de2b1c049fcd65c0d32a532c1b6301d6.zip
googletest-611e8a99de2b1c049fcd65c0d32a532c1b6301d6.tar.gz
googletest-611e8a99de2b1c049fcd65c0d32a532c1b6301d6.tar.bz2
Changes to make TempDir() publicrefs/pull/1077/head
Fixes #1076.
Diffstat (limited to 'googletest/test/gtest_unittest.cc')
-rw-r--r--googletest/test/gtest_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/test/gtest_unittest.cc b/googletest/test/gtest_unittest.cc
index 97fcd5a..814a025 100644
--- a/googletest/test/gtest_unittest.cc
+++ b/googletest/test/gtest_unittest.cc
@@ -6411,7 +6411,7 @@ class FlagfileTest : public InitGoogleTestTest {
InitGoogleTestTest::SetUp();
testdata_path_.Set(internal::FilePath(
- internal::TempDir() + internal::GetCurrentExecutableName().string() +
+ testing::TempDir() + internal::GetCurrentExecutableName().string() +
"_flagfile_test"));
testing::internal::posix::RmDir(testdata_path_.c_str());
EXPECT_TRUE(testdata_path_.CreateFolder());