forked from qt-creator/qt-creator
ClangTools: Fix ReadExportedDiagnostics.* tests
These fail
[ FAILED ] ReadExportedDiagnostics.Tidy
[ FAILED ] ReadExportedDiagnostics.Tidy_Clang
[ FAILED ] ReadExportedDiagnostics.Tidy_ClangAnalyzer
[ FAILED ] ReadExportedDiagnostics.Clazy
as 07ec6de8d9 introduced Diagnostic::name
but did not adapt tests and printing.
Change-Id: Icadace9c23ad1ad03eee7ad394bbc0211aea31f3
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -1347,6 +1347,7 @@ std::ostream &operator<<(std::ostream &out, const ExplainingStep &step)
|
||||
|
||||
std::ostream &operator<<(std::ostream &out, const Diagnostic &diag) {
|
||||
return out << "("
|
||||
<< diag.name << ", "
|
||||
<< diag.description << ", "
|
||||
<< diag.category << ", "
|
||||
<< diag.type << ", "
|
||||
|
||||
Reference in New Issue
Block a user