mirror of
https://github.com/google/googletest.git
synced 2025-04-06 22:15:01 +00:00
Googletest export
Suppress a clang-tidy warning in the MATCHER(name, description) macro. PiperOrigin-RevId: 383587271
This commit is contained in:
parent
8306020a3e
commit
43cf52911a
1 changed files with 1 additions and 0 deletions
|
@ -5400,6 +5400,7 @@ PolymorphicMatcher<internal::ExceptionMatcherImpl<Err>> ThrowsMessage(
|
|||
\
|
||||
private: \
|
||||
::std::string FormatDescription(bool negation) const { \
|
||||
/* NOLINTNEXTLINE readability-redundant-string-init */ \
|
||||
::std::string gmock_description = (description); \
|
||||
if (!gmock_description.empty()) { \
|
||||
return gmock_description; \
|
||||
|
|
Loading…
Add table
Reference in a new issue