diff -r fcece45ef507 -r 79de32ba3296 tests/auto/qtableview/tst_qtableview.cpp --- a/tests/auto/qtableview/tst_qtableview.cpp Mon May 03 13:17:34 2010 +0300 +++ b/tests/auto/qtableview/tst_qtableview.cpp Fri May 14 16:40:13 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()