summaryrefslogtreecommitdiff
path: root/tests/auto/controls/data/tst_scrollview.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/controls/data/tst_scrollview.qml')
-rw-r--r--tests/auto/controls/data/tst_scrollview.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/controls/data/tst_scrollview.qml b/tests/auto/controls/data/tst_scrollview.qml
index 07d6525e..842fd6dc 100644
--- a/tests/auto/controls/data/tst_scrollview.qml
+++ b/tests/auto/controls/data/tst_scrollview.qml
@@ -143,7 +143,7 @@ TestCase {
var scrollView = dragFetchAppendComponent.createObject(container)
verify(scrollView !== null, "view created is null")
waitForRendering(scrollView)
- verify(scrollView.flickableItem.contentHeight === 60 * 20)
+ tryCompare(scrollView.flickableItem, "contentHeight", 60 * 20)
// After scrolling to the end, view should ask the model to fetch more
// data, content height should increase and scrollbar handle should move