@@ -156,7 +156,11 @@ Item {
157 // Check if the launcher slides in for units.gu(2). However, as the animation is 200ms
157 // Check if the launcher slides in for units.gu(2). However, as the animation is 200ms
158 // and the teaseTimer's timeout too, give it a 2 pixels grace distance
158 // and the teaseTimer's timeout too, give it a 2 pixels grace distance
159− tryCompareFunction(function(){return launcher.maxPanelX >= -launcher.panelWidth + units.gu(2) - 2;}, true)
161+ return launcher.maxPanelX >= -launcher.panelWidth + units.gu(2) - 2;
161 wait(100)
165 wait(100)
162 compare(launcher.maxPanelX, -launcher.panelWidth, "Launcher moved even if it shouldn't")
166 compare(launcher.maxPanelX, -launcher.panelWidth, "Launcher moved even if it shouldn't")