Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::Matchers::Generic::Detail Namespace Reference

Functions

std::string finalizeDescription (const std::string &desc)
 

Function Documentation

◆ finalizeDescription()

std::string Catch::Matchers::Generic::Detail::finalizeDescription ( const std::string & desc)

Definition at line 3 of file catch_matchers_generic.cpp.

3 {
4 if (desc.empty()) {
5 return "matches undescribed predicate";
6 } else {
7 return "matches predicate: \"" + desc + '"';
8 }
9}