Corrade::TestSuite::Compare::StringContains class new in Git master

Pseudo-type for verifying that a string contains given substring.

Prints both strings if the actual string doesn't contain the expected substring. Example usage is below, see Comparing with pseudo-types for more information.

Containers::StringView a = ;
CORRADE_COMPARE_AS(a, "hello", TestSuite::Compare::StringContains);

If the --verbose command-line option is specified, passed comparisons where the strings are different will print an INFO message with the full string content for detailed inspection.