summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/declarative/repeater/tst_repeater.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/declarative/repeater/tst_repeater.cpp b/tests/auto/declarative/repeater/tst_repeater.cpp
index c0fa645..48ebd2c 100644
--- a/tests/auto/declarative/repeater/tst_repeater.cpp
+++ b/tests/auto/declarative/repeater/tst_repeater.cpp
@@ -280,8 +280,10 @@ void tst_QmlGraphicsRepeater::dataModel()
QCOMPARE(container->childItems().count(), 4);
testModel.addItem("four", "4");
-
QCOMPARE(container->childItems().count(), 5);
+
+ testModel.removeItem(2);
+ QCOMPARE(container->childItems().count(), 4);
}
void tst_QmlGraphicsRepeater::itemModel()