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

Pseudo-type for verifying that a string has given suffix.

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

Containers::StringView a = ;
CORRADE_COMPARE_AS(a, "world", TestSuite::Compare::StringHasSuffix);

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.