Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d485759 authored by Yifan Hong's avatar Yifan Hong Committed by android-build-merger
Browse files

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

am: 6a4c7385

Change-Id: Iaee10178c5055a570165e5c7f908e021145951b1
parents 01432855 6a4c7385
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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();
}