update comment on test
authorMark Brand <mabrand@mabrand.nl>
Mon, 13 Feb 2012 13:16:01 +0000 (14:16 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 14 Feb 2012 11:21:38 +0000 (12:21 +0100)
Fix up for f5e1da12f0e7bdeee4db74acc52dfabeb12a4e31.

Change-Id: I3a730ce7e47d71551a46cc105ba2d1fe4e33b65b
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
tests/auto/sql/models/qsqltablemodel/tst_qsqltablemodel.cpp

index a819cb7..c0bdfae 100644 (file)
@@ -699,7 +699,7 @@ void tst_QSqlTableModel::removeRows()
     QVERIFY(!model.removeRows(-1,1)); // negative start
     QVERIFY(!model.removeRows(-1, 0)); // negative start, and zero count
     QVERIFY(!model.removeRows(1, 0)); // zero count
-    QVERIFY(!model.removeRows(5, 1)); // past end (causes a beforeDelete to be emitted)
+    QVERIFY(!model.removeRows(5, 1)); // past end (DOESN'T causes a beforeDelete to be emitted)
     QVERIFY(!model.removeRows(1, 0, model.index(2, 0))); // can't pass a valid modelindex
 
     QVERIFY_SQL(model, removeRows(0, 2));