aboutsummaryrefslogtreecommitdiffstats
path: root/src/gmock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmock.cc')
-rw-r--r--src/gmock.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gmock.cc b/src/gmock.cc
index dc9d3d22..caafb015 100644
--- a/src/gmock.cc
+++ b/src/gmock.cc
@@ -37,9 +37,7 @@ namespace testing {
// TODO(wan@google.com): support using environment variables to
// control the flag values, like what Google Test does.
-// TODO(wan@google.com): change the default value to true after people
-// have a chance to fix their leaked mocks.
-GMOCK_DEFINE_bool_(catch_leaked_mocks, false,
+GMOCK_DEFINE_bool_(catch_leaked_mocks, true,
"true iff Google Mock should report leaked mock objects "
"as failures.");