on xenial help sign in
verfiy -> compare
commit217ad7264a274f8deb48711ea811a4ade4daa0d1 authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 24 Nov 2014, 11:26 (12 years ago) parent0379a84
1 file changed+1−1
tests/qmltests/Stages/tst_SpreadDelegate.qml+1−1
tests/qmltests/Stages/tst_SpreadDelegate.qml+1−1
@@ -140,7 +140,7 @@ Rectangle {
140140 var threshold = findChild(spreadDelegateLoader.item, "dragArea").threshold
141141 // Verify that the delegate started moving exactly "threshold" after the finger movement
142142 // and did not jump up to the finger, but lags the threshold behind
143− verify(Math.abs(Math.abs(appWindowWithShadow.y) - dragDistance) == threshold);
143+ compare(Math.abs(Math.abs(appWindowWithShadow.y) - dragDistance), threshold);
144144
145145 touchRelease(spreadDelegateLoader.item, touchX, toY - units.gu(1));
146146