From 209e8f177ac9cdc649e9c465571c1c2525e82190 Mon Sep 17 00:00:00 2001 From: "U. Artie Eoff" Date: Tue, 29 Jan 2013 15:30:09 -0800 Subject: [PATCH] tests: fix assignment typo, should be comparison Signed-off-by: U. Artie Eoff --- tests/surface-global-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/surface-global-test.c b/tests/surface-global-test.c index dbb8c8d..5908f60 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); -- 2.7.4