tst_qsyntaxhighlighter: fix no-op QTRY_VERIFY check
The bool is assigned on the previous line: QTRY_VERIFY will not do anything because the statement is already true. Change-Id: I067290e19ffd100819b2b631af431c6013623a00 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>bb10
parent
f8f0f3eef1
commit
8e500e15fa
|
|
@ -476,7 +476,8 @@ void tst_QSyntaxHighlighter::avoidUnnecessaryRehighlight()
|
|||
QVERIFY(hl->highlighted);
|
||||
|
||||
hl->highlighted = false;
|
||||
QTRY_VERIFY(!hl->highlighted);
|
||||
QCoreApplication::processEvents();
|
||||
QVERIFY(!hl->highlighted);
|
||||
}
|
||||
|
||||
void tst_QSyntaxHighlighter::avoidUnnecessaryDelayedRehighlight()
|
||||
|
|
|
|||
Loading…
Reference in New Issue