aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/tests
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp-vala/tests')
-rw-r--r--xmpp-vala/tests/stanza.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp-vala/tests/stanza.vala b/xmpp-vala/tests/stanza.vala
index b1fce46d..cd374912 100644
--- a/xmpp-vala/tests/stanza.vala
+++ b/xmpp-vala/tests/stanza.vala
@@ -65,7 +65,7 @@ class StanzaTest : Gee.TestCase {
try {
yield reader.read_node();
fail_if_reached("end of stream should be reached");
- } catch (XmlError.EOF e) {
+ } catch (IOError.CLOSED e) {
return;
} catch (Error e) {
fail_if_reached("Unexpected error");