From 19849742f0fe07cad9c94dd7770ddb05fb73ea71 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 20 Oct 2016 16:05:37 +0200 Subject: [PATCH] fix(utils.spec.qml): little fixes --- tests/ui/scripts/Utils/utils.js | 2 ++ tests/ui/scripts/Utils/utils.spec.qml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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 ] } ] }