diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-08-25 07:58:39 +0100 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-08-25 07:58:39 +0100 |
commit | 0f2fe35232dd5c10c26cf803ff82dde91390a796 (patch) | |
tree | b64a65342315d717e6c71e41422cac67568bacf8 /tests | |
parent | 3f7d5e5b5191685912c8405b79d2e0396a92ed74 (diff) | |
download | libnice-0f2fe35232dd5c10c26cf803ff82dde91390a796.tar.gz |
tests: Fix test-build-io-stream for EOS changes
From commit 7b6935c66738d855c84fba291d47ece6ce1c43e2.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-build-io-stream.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test-build-io-stream.c b/tests/test-build-io-stream.c index 312e80a..0868e21 100644 --- a/tests/test-build-io-stream.c +++ b/tests/test-build-io-stream.c @@ -179,9 +179,8 @@ test_pollable_properties (NiceAddress *addr) g_assert ( g_pollable_input_stream_read_nonblocking (pollable_input_stream, - buf, sizeof (buf), NULL, &error) == -1); - g_assert_error (error, G_IO_ERROR, G_IO_ERROR_CLOSED); - g_clear_error (&error); + buf, sizeof (buf), NULL, &error) == 0); + g_assert_no_error (error); g_assert ( g_pollable_output_stream_write_nonblocking (pollable_output_stream, |