Remove mention of Q_ASSERT from qheaderview autotest

Change-Id: I3a97411c0b53345bffbadb60a3e7caabfb0441d2
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit a388e104febb131cd35438bbb1397eeab41d3ab8)
This commit is contained in:
Jason McDonald 2011-05-03 10:48:14 +10:00 committed by Rohan McGovern
parent 98f9513b6b
commit 35b01c1733

View File

@ -1106,7 +1106,7 @@ void tst_QHeaderView::moveAndInsertSection()
void tst_QHeaderView::resizeMode() void tst_QHeaderView::resizeMode()
{ {
// Q_ASSERT's when resizeMode is called with an invalid index // resizeMode must not be called with an invalid index
int last = view->count() - 1; int last = view->count() - 1;
view->setResizeMode(QHeaderView::Interactive); view->setResizeMode(QHeaderView::Interactive);
QCOMPARE(view->resizeMode(last), QHeaderView::Interactive); QCOMPARE(view->resizeMode(last), QHeaderView::Interactive);