diff --git a/src/test/CollectionTest/tst_tapecommandline.cpp b/src/test/CollectionTest/tst_tapecommandline.cpp index 8ab6b1814..be085f19b 100644 --- a/src/test/CollectionTest/tst_tapecommandline.cpp +++ b/src/test/CollectionTest/tst_tapecommandline.cpp @@ -124,7 +124,7 @@ void TST_TapeCommandLine::OpenMeasurements() << QCoreApplication::applicationDirPath() + QDir::separator() + *tmpTestFolder + QDir::separator() + file, error); - QVERIFY2(exit == exitCode, qUtf8Printable(error)); + QVERIFY2(exit == exitCode, qUtf8Printable(error.right(350))); } //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/test/CollectionTest/tst_valentinacommandline.cpp b/src/test/CollectionTest/tst_valentinacommandline.cpp index a936628b8..0e58f6323 100644 --- a/src/test/CollectionTest/tst_valentinacommandline.cpp +++ b/src/test/CollectionTest/tst_valentinacommandline.cpp @@ -122,7 +122,7 @@ void TST_ValentinaCommandLine::OpenPatterns() const int exit = Run(exitCode, ValentinaPath(), QStringList() << arguments.split(";;") << tmp + QDir::separator() + file, error); - QVERIFY2(exit == exitCode, qUtf8Printable(error)); + QVERIFY2(exit == exitCode, qUtf8Printable(error.right(350))); } //--------------------------------------------------------------------------------------------------------------------- @@ -174,7 +174,7 @@ void TST_ValentinaCommandLine::ExportMode() << arguments.split(";;"); const int exit = Run(exitCode, ValentinaPath(), arg, error); - QVERIFY2(exit == exitCode, qUtf8Printable(error)); + QVERIFY2(exit == exitCode, qUtf8Printable(error.right(350))); } //--------------------------------------------------------------------------------------------------------------------- @@ -232,7 +232,7 @@ void TST_ValentinaCommandLine::TestMode() << arguments.split(";;"); const int exit = Run(exitCode, ValentinaPath(), arg, error); - QVERIFY2(exit == exitCode, qUtf8Printable(error)); + QVERIFY2(exit == exitCode, qUtf8Printable(error.right(350))); } //--------------------------------------------------------------------------------------------------------------------- @@ -293,7 +293,7 @@ void TST_ValentinaCommandLine::TestOpenCollection() << arguments.split(";;"); const int exit = Run(exitCode, ValentinaPath(), arg, error); - QVERIFY2(exit == exitCode, qUtf8Printable(error)); + QVERIFY2(exit == exitCode, qUtf8Printable(error.right(350))); } //---------------------------------------------------------------------------------------------------------------------