Re: [PATCH wayland] connection-test: fix assert

2017-03-16 Thread Pekka Paalanen
On Thu, 16 Mar 2017 11:46:06 +
Eric Engestrom  wrote:

> Signed-off-by: Eric Engestrom 
> ---
>  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;
>  }
>  

Wow. Pushed:
   654dee8..9452cc5  master -> master


Thanks,
pq


pgprLoNvF5ss8.pgp
Description: OpenPGP digital signature
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


[PATCH wayland] connection-test: fix assert

2017-03-16 Thread Eric Engestrom
Signed-off-by: Eric Engestrom 
---
 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

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel