Commit d5a1bdc7 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

ANSI: Use QCOMPARE instead of QVERIFY

Change-Id: Ia1be4cbf9fc4a5e6b608fbf9aad2679a5aa66f38
Reviewed-by: default avatarAndré Hartmann <aha_1980@gmx.de>
Reviewed-by: default avatarPetar Perisin <petar.perisin@gmail.com>
parent 61eb2308
......@@ -81,10 +81,10 @@ void tst_AnsiEscapeCodeHandler::testCase1()
ResultList result = handler.parseText(text, format);
handler.endFormatScope();
QVERIFY(result.size() == expected.size());
QCOMPARE(result.size(), expected.size());
for (int i = 0; i < result.size(); ++i) {
QVERIFY(result[i].first == expected[i].first);
QVERIFY(result[i].second == expected[i].second);
QCOMPARE(result[i].first, expected[i].first);
QCOMPARE(result[i].second, expected[i].second);
}
}
......
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