MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / finalizeDescription

Method finalizeDescription

unittests/catch.hpp:8018–8024  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8016// start catch_matchers_generic.cpp
8017
8018std::string Catch::Matchers::Generic::Detail::finalizeDescription(const std::string& desc) {
8019 if (desc.empty()) {
8020 return "matches undescribed predicate";
8021 } else {
8022 return "matches predicate: \"" + desc + '"';
8023 }
8024}
8025// end catch_matchers_generic.cpp
8026// start catch_matchers_string.cpp
8027

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected