diff --git a/src/Text/Test/AbstractFontConverterTest.cpp b/src/Text/Test/AbstractFontConverterTest.cpp index b3356d192..22b04cd71 100644 --- a/src/Text/Test/AbstractFontConverterTest.cpp +++ b/src/Text/Test/AbstractFontConverterTest.cpp @@ -103,8 +103,11 @@ void AbstractFontConverterTest::convertGlyphs() { #endif GlyphExporter exporter(characters); exporter.exportFontToSingleData(*static_cast(nullptr), *static_cast(nullptr), "abC01a0 "); - #ifndef __MINGW32__ + #if !defined(__MINGW32__) && !defined(CORRADE_MSVC2013_COMPATIBILITY) CORRADE_COMPARE(characters, U" 01Cab"); + #elif defined(CORRADE_MSVC2013_COMPATIBILITY) + CORRADE_COMPARE(characters, (std::u32string{ + ' ', '0', '1', 'C', 'a', 'b'})); #else CORRADE_COMPARE(characters, (std::vector{ U' ', U'0', U'1', U'C', U'a', U'b'}));