aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMatthew Cattell <matthew.cattell@nokia.com>2011-09-13 10:56:17 +0200
committerGunnar Sletta <gunnar.sletta@nokia.com>2011-09-14 10:13:23 +0200
commitf902ecfe6a99aa733cb18b0c435825546f1d18d5 (patch)
tree2271448a9152164c1a7a4f08a9618624b0dff7ab /tests
parente47ade5e86c96eef95f43bb181ace17524acb19c (diff)
fixed broken test
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative/qsglistview/tst_qsglistview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qsglistview/tst_qsglistview.cpp b/tests/auto/declarative/qsglistview/tst_qsglistview.cpp
index 581a74c445..cbd1b0189e 100644
--- a/tests/auto/declarative/qsglistview/tst_qsglistview.cpp
+++ b/tests/auto/declarative/qsglistview/tst_qsglistview.cpp
@@ -1793,7 +1793,7 @@ void tst_QSGListView::currentIndex()
listview->setCurrentIndex(0);
QTest::keyClick(canvas, Qt::Key_Down);
- QCOMPARE(listview->currentIndex(), 0);
+ QCOMPARE(listview->currentIndex(), 1);
QTest::keyClick(canvas, Qt::Key_Up);
QCOMPARE(listview->currentIndex(), 0);