@@ -156,7 +156,11 @@ Item {
156156
157157 // Check if the launcher slides in for units.gu(2). However, as the animation is 200ms
158158 // 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)
159+ tryCompareFunction(
160+ function(){
161+ return launcher.maxPanelX >= -launcher.panelWidth + units.gu(2) - 2;
162+ },
163+ true)
160164 } else {
161165 wait(100)
162166 compare(launcher.maxPanelX, -launcher.panelWidth, "Launcher moved even if it shouldn't")