Corrade::TestSuite::Compare::FileToString class

Pseudo-type for comparing file contents to string.

Prints the length of both files (if they are different) and prints value and position of first different character in both files. Filename is expected to be in UTF-8. Example usage:

CORRADE_COMPARE_AS("actual.txt", "expected file contents",
    TestSuite::Compare::FileToString);

See Comparing with pseudo-types for more information.