summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorU. Artie Eoff <ullysses.a.eoff@intel.com>2013-01-29 15:30:09 -0800
committerKristian Høgsberg <krh@bitplanet.net>2013-02-14 16:00:19 -0500
commit033b5df52f41cb330e534b349f9ee2c12cef9522 (patch)
treed4c0b6bdf4982ecbaa6f1c53ad287f1a2d8533cc
parent8877173f0ca73b2b454c2eb228374b59e5d544ab (diff)
downloadweston-033b5df52f41cb330e534b349f9ee2c12cef9522.tar.gz
tests: fix assignment typo, should be comparison
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
-rw-r--r--tests/surface-global-test.c2
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);