Commit c7137f0b authored by Muhammad Hilman Beyri's avatar Muhammad Hilman Beyri
Browse files

Use IsReadableTypeName IsReadableTypeName in OfType function in gmock-matchers_test.cc

parent 3aa538cb
......@@ -140,7 +140,7 @@ Matcher<int> GreaterThan(int n) {
std::string OfType(const std::string& type_name) {
#if GTEST_HAS_RTTI
return " (of type " + type_name + ")";
return IsReadableTypeName(type_name) ? " (of type " + type_name + ")" : "";
#else
return "";
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment