File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -864,12 +864,24 @@ void main() {
864
864
checkNotReported (prepareNetworkExceptionSocketException);
865
865
});
866
866
867
+ test ('eventually report generic NetworkException' , () {
868
+ checkLateReported (prepareNetworkException).startsWith (
869
+ "Error connecting to Zulip. Retrying…\n "
870
+ "Error connecting to Zulip at" );
871
+ });
872
+
867
873
test ('eventually report Server5xxException' , () {
868
874
checkLateReported (prepareServer5xxException).startsWith (
869
875
"Error connecting to Zulip. Retrying…\n "
870
876
"Error connecting to Zulip at" );
871
877
});
872
878
879
+ test ('report MalformedServerResponseException' , () {
880
+ checkReported (prepareMalformedServerResponseException).startsWith (
881
+ "Error connecting to Zulip. Retrying…\n "
882
+ "Error connecting to Zulip at" );
883
+ });
884
+
873
885
test ('report generic ZulipApiException' , () {
874
886
checkReported (prepareZulipApiExceptionBadRequest).startsWith (
875
887
"Error connecting to Zulip. Retrying…\n "
You can’t perform that action at this time.
0 commit comments