From 3684160db392834a78c510f74ee3797f8adfa4dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 7 Apr 2022 20:57:20 +0200 Subject: [PATCH] Trade: minor AbstractSceneConverter test improvement. --- src/Magnum/Trade/Test/AbstractSceneConverterTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Magnum/Trade/Test/AbstractSceneConverterTest.cpp b/src/Magnum/Trade/Test/AbstractSceneConverterTest.cpp index 7a5818138..ff5b155b6 100644 --- a/src/Magnum/Trade/Test/AbstractSceneConverterTest.cpp +++ b/src/Magnum/Trade/Test/AbstractSceneConverterTest.cpp @@ -558,8 +558,9 @@ void AbstractSceneConverterTest::convertMeshToFileThroughDataNotWritable() { std::ostringstream out; Error redirectError{&out}; CORRADE_VERIFY(!converter.convertToFile(MeshData{MeshPrimitive::Triangles, 0xef}, "/some/path/that/does/not/exist")); + /* There's an error from Path::write() before */ CORRADE_COMPARE_AS(out.str(), - "Trade::AbstractSceneConverter::convertToFile(): cannot write to file /some/path/that/does/not/exist\n", + "\nTrade::AbstractSceneConverter::convertToFile(): cannot write to file /some/path/that/does/not/exist\n", TestSuite::Compare::StringHasSuffix); }