[PATCH weston] tests: fix assignment typo, should be comparison

Kristian Høgsberg hoegsberg at gmail.com
Thu Feb 7 18:19:03 PST 2013


On Tue, Jan 29, 2013 at 03:30:09PM -0800, U. Artie Eoff wrote:
> From: "U. Artie Eoff" <ullysses.a.eoff at intel.com>
> 
> Signed-off-by: U. Artie Eoff <ullysses.a.eoff at intel.com>
> ---
>  tests/surface-global-test.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, applied.

Kristian

> 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);
> -- 
> 1.7.11.7
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list