diff -r cc75c76972ee -r c0432d11811c tests/auto/qtableview/tst_qtableview.cpp --- a/tests/auto/qtableview/tst_qtableview.cpp Wed Apr 21 12:15:23 2010 +0300 +++ b/tests/auto/qtableview/tst_qtableview.cpp Wed Apr 21 20:15:53 2010 +0300 @@ -3035,6 +3035,14 @@ << QPoint(0, 0) << 1 << 1; + + QTest::newRow("QTBUG-9631: remove one span") + << 10 << 10 + << (SpanList() << QRect(1, 1, 2, 1) << QRect(2, 2, 2, 2) << QRect(1, 1, 1, 1)) + << false + << QPoint(1, 1) + << 1 + << 1; } void tst_QTableView::spans()