Index: third_party/mojo/src/mojo/public/cpp/bindings/tests/map_unittest.cc |
diff --git a/third_party/mojo/src/mojo/public/cpp/bindings/tests/map_unittest.cc b/third_party/mojo/src/mojo/public/cpp/bindings/tests/map_unittest.cc |
index 5b049a87a02fdd53e9a14f2ba08a090e87eade47..44100a41072fcbca6bd3c885b769b365402217b3 100644 |
--- a/third_party/mojo/src/mojo/public/cpp/bindings/tests/map_unittest.cc |
+++ b/third_party/mojo/src/mojo/public/cpp/bindings/tests/map_unittest.cc |
@@ -10,6 +10,7 @@ |
#include "mojo/public/cpp/bindings/map.h" |
#include "mojo/public/cpp/bindings/string.h" |
#include "mojo/public/cpp/bindings/tests/container_test_util.h" |
+#include "mojo/public/cpp/environment/environment.h" |
#include "testing/gtest/include/gtest/gtest.h" |
namespace mojo { |
@@ -35,7 +36,13 @@ |
const size_t kStringIntDataSize = 4; |
-using MapTest = testing::Test; |
+class MapTest : public testing::Test { |
+ public: |
+ ~MapTest() override {} |
+ |
+ private: |
+ Environment env_; |
+}; |
// Tests that basic Map operations work. |
TEST_F(MapTest, InsertWorks) { |