mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 02:58:02 +02:00
tests: fix assignment typo, should be comparison
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
This commit is contained in:
parent
8877173f0c
commit
033b5df52f
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ surface_to_from_global(void *data)
|
|||
|
||||
weston_surface_from_global_fixed(surface, wl_fixed_from_int(21),
|
||||
wl_fixed_from_int(100), &fx, &fy);
|
||||
assert(fx = wl_fixed_from_int(16) && fy == wl_fixed_from_int(90));
|
||||
assert(fx == wl_fixed_from_int(16) && fy == wl_fixed_from_int(90));
|
||||
|
||||
weston_surface_from_global(surface, 0, 0, &ix, &iy);
|
||||
assert(ix == -5 && iy == -10);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue