[PATCH wayland] connection-test: fix assert

Pekka Paalanen ppaalanen at gmail.com
Thu Mar 16 12:11:58 UTC 2017


On Thu, 16 Mar 2017 11:46:06 +0000
Eric Engestrom <eric.engestrom at imgtec.com> wrote:

> 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;
>  }
>  

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


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170316/5cd3d61a/attachment.sig>


More information about the wayland-devel mailing list