From a3faf8e7e1c7543b6db13a81c870930c48abbaaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 17 Aug 2021 19:41:55 +0200 Subject: [PATCH] AnyImageConverter: minor cleanup in a test. --- .../AnyImageConverter/Test/AnyImageConverterTest.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/MagnumPlugins/AnyImageConverter/Test/AnyImageConverterTest.cpp b/src/MagnumPlugins/AnyImageConverter/Test/AnyImageConverterTest.cpp index 8cfcdc705..6b4b33426 100644 --- a/src/MagnumPlugins/AnyImageConverter/Test/AnyImageConverterTest.cpp +++ b/src/MagnumPlugins/AnyImageConverter/Test/AnyImageConverterTest.cpp @@ -339,13 +339,15 @@ void AnyImageConverterTest::detect2D() { std::ostringstream out; Error redirectError{&out}; CORRADE_VERIFY(!converter->convertToFile(Image2D, data.filename)); - /* Can't use raw string literals in macros on GCC 4.8 */ #ifndef CORRADE_PLUGINMANAGER_NO_DYNAMIC_PLUGIN_SUPPORT CORRADE_COMPARE(out.str(), Utility::formatString( -"PluginManager::Manager::load(): plugin {0} is not static and was not found in nonexistent\nTrade::AnyImageConverter::convertToFile(): cannot load the {0} plugin\n", data.plugin)); + "PluginManager::Manager::load(): plugin {0} is not static and was not found in nonexistent\n" + "Trade::AnyImageConverter::convertToFile(): cannot load the {0} plugin\n", + data.plugin)); #else CORRADE_COMPARE(out.str(), Utility::formatString( -"PluginManager::Manager::load(): plugin {0} was not found\nTrade::AnyImageConverter::convertToFile(): cannot load the {0} plugin\n", data.plugin)); + "PluginManager::Manager::load(): plugin {0} was not found\n" + "Trade::AnyImageConverter::convertToFile(): cannot load the {0} plugin\n", data.plugin)); #endif }