Commit dc7894d8 authored by Christian Kamm's avatar Christian Kamm
Browse files

Tests: Fix typeprettyprinter.

Done-with: Erik Verbruggen
parent d69a12a1
......@@ -82,9 +82,10 @@ void addRow(const FullySpecifiedType &f, QString result, QString name = QString(
void tst_TypePrettyPrinter::basic_data()
{
Control c;
TranslationUnit t(&c, 0);
unit = &t;
// seems it now works without a translation unit
// Control c;
// TranslationUnit t(&c, 0);
// unit = 0;
QTest::addColumn<FullySpecifiedType>("type");
QTest::addColumn<QString>("name");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment