tests: fix assignment typo, should be comparison
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Tue, 29 Jan 2013 23:30:09 +0000 (15:30 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 8 Feb 2013 02:18:35 +0000 (21:18 -0500)
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
tests/surface-global-test.c

index dbb8c8d..5908f60 100644 (file)
@@ -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);