[PATCH wayland] connection-test: fix assert

Eric Engestrom eric.engestrom at imgtec.com
Thu Mar 16 11:46:06 UTC 2017


Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
 tests/connection-test.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/connection-test.c b/tests/connection-test.c
index 8be6c38..157e1bc 100644
--- a/tests/connection-test.c
+++ b/tests/connection-test.c
@@ -603,8 +603,8 @@ suu_handler(void *data, struct wl_object *object,
 	int *done = data;
 
 	assert(strcmp(s, "foo") == 0);
-	assert(u1 = 500);
-	assert(u2 = 404040);
+	assert(u1 == 500);
+	assert(u2 == 404040);
 	*done = 1;
 }
 
-- 
Cheers,
  Eric



More information about the wayland-devel mailing list