fix tests

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
xsahil03x
2023-04-03 20:27:14 +05:30
parent 99dd1dbaab
commit 36d3ca9258
12 changed files with 55 additions and 100 deletions
@@ -129,7 +129,11 @@ void main() {
await client.get('path');
} on StreamChatNetworkError catch (e) {
expect(e, isA<StreamChatNetworkError>());
expect(e.message, "Dio can't establish new connection after closed.");
expect(
e.message,
"The connection errored: Dio can't establish a new connection"
' after it was closed.',
);
}
});