Remove some filesystem APIs and tests under !GTEST_HAS_FILE_SYSTEM

PiperOrigin-RevId: 509537606
Change-Id: I68f7054e34b1fe76c1fd85099fffa4ee3c2b00c0
This commit is contained in:
Abseil Team
2023-02-14 08:32:59 -08:00
committed by Copybara-Service
parent b80a07ffe6
commit 2057566e4e
2 changed files with 10 additions and 1 deletions

View File

@@ -7,6 +7,8 @@
#include "gtest/gtest.h"
#include "gtest/internal/gtest-port.h"
#if GTEST_HAS_FILE_SYSTEM
namespace {
class SetEnv {
@@ -94,4 +96,6 @@ TEST(SrcDirTest, NotInEnvironment) {
EXPECT_NE(testing::SrcDir(), "");
}
#endif // GTEST_HAS_FILE_SYSTEM
} // namespace