From 45d486d7d904c1ceb218a499a566dd4b065c5539 Mon Sep 17 00:00:00 2001 From: mzn Date: Wed, 2 Apr 2014 06:34:34 +0000 Subject: [PATCH] Adjustment. --- src/HYDROGUI/test_HYDROGUI_ListModel.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HYDROGUI/test_HYDROGUI_ListModel.cxx b/src/HYDROGUI/test_HYDROGUI_ListModel.cxx index f3c76ed0..96c012bf 100644 --- a/src/HYDROGUI/test_HYDROGUI_ListModel.cxx +++ b/src/HYDROGUI/test_HYDROGUI_ListModel.cxx @@ -361,8 +361,8 @@ void test_HYDROGUI_ListModel::testDragAndDrop() CPPUNIT_ASSERT_EQUAL( false, aRes ); CPPUNIT_ASSERT_EQUAL( anInitialState, GetObjects( aModel ) ); - // 7. [D, *E, *G] -> -1 : drop item index is out of range ( more than than (list length - 1) ) - aRes = aModel->move( QList() << 3 << 4 << 6, aDnD, false, 8 ); + // 7. [D, *E, *G] -> -1 : drop item index is out of range ( more than than list length ) + aRes = aModel->move( QList() << 3 << 4 << 6, aDnD, false, 9 ); CPPUNIT_ASSERT_EQUAL( false, aRes ); CPPUNIT_ASSERT_EQUAL( anInitialState, GetObjects( aModel ) ); -- 2.39.2