1 #include "catch_matchers_generic.hpp" 2 finalizeDescription(const std::string & desc)3std::string Catch::Matchers::Generic::Detail::finalizeDescription(const std::string& desc) { 4 if (desc.empty()) { 5 return "matches undescribed predicate"; 6 } else { 7 return "matches predicate: \"" + desc + '"'; 8 } 9 } 10