projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8696e80
)
test: fix double parsing test
author
Peter Hutterer
<peter.hutterer@who-t.net>
Sun, 13 Oct 2024 09:01:50 +0000
(19:01 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 15 Oct 2024 02:44:27 +0000
(12:44 +1000)
We should check that we actually have a double here...
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1059>
test/test-quirks.c
patch
|
blob
|
history
diff --git
a/test/test-quirks.c
b/test/test-quirks.c
index 46aa4586192661c3eedf78fd3c1d6f39150c1ffd..e8202b5bbc4a68cc224ec20b512737000e16a31c 100644
(file)
--- a/
test/test-quirks.c
+++ b/
test/test-quirks.c
@@
-1239,7
+1239,7
@@
START_TEST(quirks_parse_double_attr)
if (!rc)
continue;
- ck_assert_
int
_eq(v, t->val);
+ ck_assert_
double
_eq(v, t->val);
}
}
}