mirror of
https://github.com/google/googletest.git
synced 2025-01-14 00:20:57 +08:00
Merge pull request #4219 from jerylvaz:main
PiperOrigin-RevId: 524932412 Change-Id: Ie70282f7e82cb3b9442bd15bbe49bb9b00e56eb9
This commit is contained in:
commit
d25e625364
@ -5544,7 +5544,8 @@ PolymorphicMatcher<internal::ExceptionMatcherImpl<Err>> ThrowsMessage(
|
|||||||
\
|
\
|
||||||
private: \
|
private: \
|
||||||
::std::string FormatDescription(bool negation) const { \
|
::std::string FormatDescription(bool negation) const { \
|
||||||
::std::string gmock_description = (description); \
|
::std::string gmock_description; \
|
||||||
|
gmock_description = (description); \
|
||||||
if (!gmock_description.empty()) { \
|
if (!gmock_description.empty()) { \
|
||||||
return gmock_description; \
|
return gmock_description; \
|
||||||
} \
|
} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user