on xenial help sign in
Improve readability.
6e2fe79Michał Sawicz
tests/qmltests/Dash/tst_Card.qml+3−1
@@ -274,7 +274,9 @@ Rectangle {
274
274
275 if (typeof data.height === "function") {
275 if (typeof data.height === "function") {
276 tryCompareFunction(function() { return card.height === data.height() }, true);
276 tryCompareFunction(function() { return card.height === data.height() }, true);
277− } else if (data.hasOwnProperty("height")) tryCompare(card, "height", data.height);
277+ } else if (data.hasOwnProperty("height")) {
278+ tryCompare(card, "height", data.height);
279+ }
278 }
280 }
279
281
280 function test_art_size_data() {
282 function test_art_size_data() {