diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-06-10 10:39:01 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-06-12 16:06:37 +0100 |
commit | 6afd22825552cb8c2a22a186041f011f0cb6dad6 (patch) | |
tree | 905e576c97432f97213720cfdf2c3d8ef55640ce /tests/wocky-test-sasl-auth-server.c | |
parent | 4e59a279a10698e3bba38bb355d1d652db3a109c (diff) |
wocky-test-sasl-auth-server: use g_assert_error
Diffstat (limited to 'tests/wocky-test-sasl-auth-server.c')
-rw-r--r-- | tests/wocky-test-sasl-auth-server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/wocky-test-sasl-auth-server.c b/tests/wocky-test-sasl-auth-server.c index 5e6d7cf..de70499 100644 --- a/tests/wocky-test-sasl-auth-server.c +++ b/tests/wocky-test-sasl-auth-server.c @@ -275,8 +275,8 @@ post_auth_recv_stanza (GObject *source, } else { - g_assert (g_error_matches (error, WOCKY_XMPP_CONNECTION_ERROR, - WOCKY_XMPP_CONNECTION_ERROR_CLOSED)); + g_assert_error (error, WOCKY_XMPP_CONNECTION_ERROR, + WOCKY_XMPP_CONNECTION_ERROR_CLOSED); wocky_xmpp_connection_send_close_async (WOCKY_XMPP_CONNECTION (source), NULL, post_auth_close_sent, user_data); g_error_free (error); |