Squashed 'libs/Catch2/' content from commit 182c910b
git-subtree-dir: libs/Catch2 git-subtree-split: 182c910b4b63ff587a3440e08f84f70497e49a81
This commit is contained in:
9
include/internal/catch_matchers_generic.cpp
Normal file
9
include/internal/catch_matchers_generic.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "catch_matchers_generic.hpp"
|
||||
|
||||
std::string Catch::Matchers::Generic::Detail::finalizeDescription(const std::string& desc) {
|
||||
if (desc.empty()) {
|
||||
return "matches undescribed predicate";
|
||||
} else {
|
||||
return "matches predicate: \"" + desc + '"';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user