mirror of
https://github.com/google/googletest.git
synced 2025-04-08 06:43:10 +00:00
Merge pull request #4219 from jerylvaz:main
PiperOrigin-RevId: 524932412 Change-Id: Ie70282f7e82cb3b9442bd15bbe49bb9b00e56eb9
This commit is contained in:
commit
d25e625364
1 changed files with 2 additions and 1 deletions
|
@ -5544,7 +5544,8 @@ PolymorphicMatcher<internal::ExceptionMatcherImpl<Err>> ThrowsMessage(
|
|||
\
|
||||
private: \
|
||||
::std::string FormatDescription(bool negation) const { \
|
||||
::std::string gmock_description = (description); \
|
||||
::std::string gmock_description; \
|
||||
gmock_description = (description); \
|
||||
if (!gmock_description.empty()) { \
|
||||
return gmock_description; \
|
||||
} \
|
||||
|
|
Loading…
Add table
Reference in a new issue