MCPcopy Create free account
hub / github.com/cpputest/cpputest / createButWasString

Method createButWasString

src/CppUTest/TestFailure.cpp:133–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133SimpleString TestFailure::createButWasString(const SimpleString& expected, const SimpleString& actual)
134{
135 return StringFromFormat("expected <%s>\n\tbut was <%s>", expected.asCharString(), actual.asCharString());
136}
137
138SimpleString TestFailure::createDifferenceAtPosString(const SimpleString& actual, size_t position, DifferenceFormat format)
139{

Callers

nothing calls this directly

Calls 2

StringFromFormatFunction · 0.85
asCharStringMethod · 0.80

Tested by

no test coverage detected