Corrade::TestSuite::Compare::StringToFile class

Pseudo-type for comparing string to file contents.

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

CORRADE_COMPARE_AS("actual file contents", "expected.txt",

See Comparing with pseudo-types for more information.