diff options
author | Marvin W <git@larma.de> | 2023-01-31 15:12:39 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2023-02-07 10:50:43 +0100 |
commit | 18321ed15ce782ff5d1f24de9f2fb459d714d125 (patch) | |
tree | baf849afe826691b351110b8899701f698692eb9 /xmpp-vala/tests/stanza.vala | |
parent | 95fefaff51e5506d3f0e5fe8bced14aeb3fbe037 (diff) | |
download | dino-18321ed15ce782ff5d1f24de9f2fb459d714d125.tar.gz dino-18321ed15ce782ff5d1f24de9f2fb459d714d125.zip |
Collapse most stream releated errors into IOError
Diffstat (limited to 'xmpp-vala/tests/stanza.vala')
-rw-r--r-- | xmpp-vala/tests/stanza.vala | 2 |
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"); |