summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGatis Paeglis <gatis.paeglis@qt.io>2018-12-08 23:32:03 +0100
committerGatis Paeglis <gatis.paeglis@qt.io>2018-12-09 20:57:17 +0000
commit7f7502865f980a7d72dc04ffc5f25eecf0d414a8 (patch)
tree24c941c9d7cdaffd43ee2bcfce0d1e4752979661
parentd25b3b7f1059d5561bce3efe7ea903ea76d4e888 (diff)
tests: minor fixup in tst_WaylandCompositor::comparingModes()
This patch amends d25b3b7f1059d5561bce3efe7ea903ea76d4e888 Change-Id: I413818f6cd4a77062287265f3bcb5db6170fc4d2 Reviewed-by: Johan Helsing <johan.helsing@qt.io>
-rw-r--r--tests/auto/compositor/compositor/tst_compositor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/compositor/compositor/tst_compositor.cpp b/tests/auto/compositor/compositor/tst_compositor.cpp
index 7fe8dfc2..97e650d9 100644
--- a/tests/auto/compositor/compositor/tst_compositor.cpp
+++ b/tests/auto/compositor/compositor/tst_compositor.cpp
@@ -392,7 +392,7 @@ void tst_WaylandCompositor::comparingModes()
QVERIFY(mode2 != mode);
for (auto mode: {mode1, mode2, mode4})
QVERIFY(mode3 != mode);
- for (auto mode: {mode1, mode2, mode2})
+ for (auto mode: {mode1, mode2, mode3})
QVERIFY(mode4 != mode);
}