Skip to content

Commit

Permalink
Update output text in case of failure to reflect actual diff command …
Browse files Browse the repository at this point in the history
…used
  • Loading branch information
Philzen committed Apr 13, 2020
1 parent f1c9a36 commit e0ddd73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtest/testutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ bool MTest::compareFilesFromPaths(const QString& f1, const QString& f2)
// qPrintable(QString(root + "/" + saveName)));
QTextStream outputText(stdout);
outputText << QString(ba);
outputText << QString(" <diff -u %1 %2 failed").arg(f2).arg(f1);
outputText << " <" << cmd << " " << args.join(" ") << " failed" << endl;
return false;
}
return true;
Expand Down

0 comments on commit e0ddd73

Please sign in to comment.