Skip to content

Commit 2a776b1

Browse files
Tal Beneshmeta-codesync[bot]
authored andcommitted
Fix test build breaks after CP google/googletest@7d7e750 (#55133)
Summary: ## Changelog: [General] [Fixed] - Fix test build breaks after GoogleTest update Pull Request resolved: #55133 google/googletest@7d7e750 included a breaking change of changing GetWithoutMatchers() to WithoutMatchers::Get() (googletest/googlemock/include/gmock/internal/gmock-internal-utils.h) This caused build breaks for a few tests that weren't signaled in the original CP. This fixes it Reviewed By: joachimr2 Differential Revision: D90514337 fbshipit-source-id: ee6372804ad96a18ea0552c333dd62cde4c7f142
1 parent b45c820 commit 2a776b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/react-native/ReactCommon/jsinspector-modern/tests

packages/react-native/ReactCommon/jsinspector-modern/tests/GmockHelpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* a std::source_location parameter.
1515
*/
1616
#define GMOCK_ON_CALL_WITH_SOURCE_LOCATION_IMPL_(location, mock_expr, Setter, call) \
17-
((mock_expr).gmock_##call)(::testing::internal::GetWithoutMatchers(), nullptr) \
17+
((mock_expr).gmock_##call)(::testing::internal::WithoutMatchers::Get(), nullptr) \
1818
.Setter((location).file_name(), (location).line(), #mock_expr, #call)
1919

2020
/**

0 commit comments

Comments
 (0)