add a compare here for the width
otherwise the test passed even if the resize was against 630 when it should not
commitd82907c07bcbce4a9a1361cd2b44991e5145ed58
authorAlbert Astals <albert.astals@canonical.com>
dateTue 17 Dec 2013, 12:33 (13 years ago)
parent993d3ba
tests/plugins/DashViews/verticaljournaltest.cpp+1
@@ -120,6 +120,7 @@ private Q_SLOTS:
120120 void testWidthResize()
121121 {
122122 view->resize(629, 400);
123+ QTRY_COMPARE(vj->width(), 629.);
123124
124125 // This is exactly the same block as above as nothing changed, just white space on the right
125126 checkInitialPositions();