diff --git a/tests/ui/scripts/Utils/utils.js b/tests/ui/scripts/Utils/utils.js index 10100b262..bb82c2469 100644 --- a/tests/ui/scripts/Utils/utils.js +++ b/tests/ui/scripts/Utils/utils.js @@ -52,6 +52,8 @@ function openWindow (window, parent, options) { return object } +// ------------------------------------------------------------------- + // Display a simple ConfirmDialog component. // Wrap the openWindow function. function openConfirmDialog (parent, options) { diff --git a/tests/ui/scripts/Utils/utils.spec.qml b/tests/ui/scripts/Utils/utils.spec.qml index 8dd5c90cf..7fdada737 100644 --- a/tests/ui/scripts/Utils/utils.spec.qml +++ b/tests/ui/scripts/Utils/utils.spec.qml @@ -127,8 +127,8 @@ TestCase { }, { cb: function (n) { return n % 2 }, - n: 10, - output: [ 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ] + n: 6, + output: [ 0, 1, 0, 1, 0, 1 ] } ] }