diff options
Diffstat (limited to 'googlemock/test/gmock-internal-utils_test.cc')
-rw-r--r-- | googlemock/test/gmock-internal-utils_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/googlemock/test/gmock-internal-utils_test.cc b/googlemock/test/gmock-internal-utils_test.cc index 0d15e8f..bd7e335 100644 --- a/googlemock/test/gmock-internal-utils_test.cc +++ b/googlemock/test/gmock-internal-utils_test.cc @@ -440,7 +440,8 @@ TEST(LogTest, NoSkippingStackFrameInOptMode) { const std::string log = GetCapturedStdout(); std::string expected_trace = - (testing::Message() << GTEST_FLAG(stack_trace_depth) << "::").GetString(); + (testing::Message() << GTEST_FLAG_GET(stack_trace_depth) << "::") + .GetString(); std::string expected_message = "\nGMOCK WARNING:\n" "Test log.\n" |