Commit d6a257f8 authored by Bill King's avatar Bill King
Browse files

Tests: Simplify the simplifytest.

parent f0074104
......@@ -119,13 +119,7 @@ void SimplifyTypesTest::testCase1()
QFETCH(QString, input);
QFETCH(QString, expected);
const QString output = CPlusPlus::simplifySTLType(input);
const bool ok = output == expected;
if (!ok) {
const QString msg = QString::fromAscii("Failure: got '%1' where '%2' was expected for '%3'")
.arg(output, expected, input);
QWARN(qPrintable(msg));
}
QVERIFY2(ok, "Failure");
QCOMPARE(output, expected);
}
void SimplifyTypesTest::testCase1_data()
......
Markdown is supported
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