Merge "fs_mgr: liblp test: give ownership of environment to gtest" am: 08c6d1a5d1

am: 6a4c7385af

Change-Id: Iaee10178c5055a570165e5c7f908e021145951b1
This commit is contained in:
Yifan Hong 2019-07-24 21:11:54 -07:00 committed by android-build-merger
commit 1d48575927
1 changed files with 1 additions and 2 deletions

View File

@ -31,8 +31,7 @@ class Environment : public ::testing::Environment {
};
int main(int argc, char** argv) {
std::unique_ptr<Environment> env(new Environment);
::testing::AddGlobalTestEnvironment(env.get());
::testing::AddGlobalTestEnvironment(new Environment);
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}