Fix 3 - googletest-filepath-test failure on OS/2

This commit is contained in:
KO Myung-Hun 2018-04-01 16:01:47 +09:00
parent 62d77d7cdf
commit 77e00c9c72

View File

@ -80,7 +80,7 @@ TEST(GetCurrentDirTest, ReturnsCurrentDir) {
const FilePath cwd = FilePath::GetCurrentDir();
posix::ChDir(original_dir.c_str());
# if GTEST_OS_WINDOWS
# if GTEST_OS_WINDOWS || GTEST_OS_OS2
// Skips the ":".
const char* const cwd_without_drive = strchr(cwd.c_str(), ':');