From 18321ed15ce782ff5d1f24de9f2fb459d714d125 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Tue, 31 Jan 2023 15:12:39 +0100 Subject: Collapse most stream releated errors into IOError --- xmpp-vala/tests/stanza.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmpp-vala/tests') 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"); -- cgit v1.2.3-70-g09d2