Skip to content

Commit

Permalink
Update ns_input_stream_test.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
brianquinlan committed Sep 13, 2024
1 parent af7f981 commit 903a7de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/objective_c/test/ns_input_stream_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,10 @@ void main() {
expect(status2, NSStreamStatus.NSStreamStatusError);
expect(
error2,
isA<NSError>().having((e) => e.localizedDescription.toString(),
'localizedDescription', contains('some exception message')));
isA<NSError>()
.having((e) => e.localizedDescription.toString(),
'localizedDescription', contains('some exception message'))
.having((e) => e.domain.toString(), 'domain', 'DartError'));
});
});
}

0 comments on commit 903a7de

Please sign in to comment.