diff options
Diffstat (limited to 'googletest/test/googletest-listener-test.cc')
-rw-r--r-- | googletest/test/googletest-listener-test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/test/googletest-listener-test.cc b/googletest/test/googletest-listener-test.cc index 10457af..9d6c9ca 100644 --- a/googletest/test/googletest-listener-test.cc +++ b/googletest/test/googletest-listener-test.cc @@ -284,7 +284,7 @@ int main(int argc, char **argv) { GTEST_CHECK_(events.size() == 0) << "AddGlobalTestEnvironment should not generate any events itself."; - ::testing::GTEST_FLAG(repeat) = 2; + GTEST_FLAG_SET(repeat, 2); int ret_val = RUN_ALL_TESTS(); #ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI_ |