summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2022-02-03 10:48:12 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2022-02-04 12:44:09 +1000
commitd1617e9fea1475e45c59e821b4ed8a24f1d749d0 (patch)
treebcb858486ba647ef3abc9a33421b59088a2cb32d
parent591d4633dc99a2ba3dd906b570fd98e95482d8de (diff)
downloadxf86-input-wacom-d1617e9fea1475e45c59e821b4ed8a24f1d749d0.tar.gz
test: fix long-standing typo in the initial size tests
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/wcmConfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wcmConfig.c b/src/wcmConfig.c
index e0ab818..3c1e056 100644
--- a/src/wcmConfig.c
+++ b/src/wcmConfig.c
@@ -1115,7 +1115,7 @@ TEST_CASE(test_initial_size)
wcmInitialToolSize(&priv);
assert(priv.topX == minx);
- assert(priv.topY == minx);
+ assert(priv.topY == miny);
assert(priv.bottomX == maxx);
assert(priv.bottomY == maxy);
assert(priv.resolX == xres);
@@ -1135,7 +1135,7 @@ TEST_CASE(test_initial_size)
wcmInitialToolSize(&priv);
assert(priv.topX == minx);
- assert(priv.topY == minx);
+ assert(priv.topY == miny);
assert(priv.bottomX == maxx);
assert(priv.bottomY == maxy);
assert(priv.resolX == xres);