diff options
author | U. Artie Eoff <ullysses.a.eoff@intel.com> | 2013-01-29 15:30:09 -0800 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-02-07 21:18:35 -0500 |
commit | 209e8f177ac9cdc649e9c465571c1c2525e82190 (patch) | |
tree | bb4b742f1d54b5bbf59eca00519427c98e640d82 /tests | |
parent | 4f49917ec5a3e212d85b15c96a580116c3ef5a15 (diff) |
tests: fix assignment typo, should be comparison
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/surface-global-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/surface-global-test.c b/tests/surface-global-test.c index dbb8c8de..5908f60d 100644 --- a/tests/surface-global-test.c +++ b/tests/surface-global-test.c @@ -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); |