Skip to content

Commit

Permalink
✅ Fix string matching
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Oct 7, 2024
1 parent 43b3c7a commit 9786df7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dio/test/multipart_file_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,11 @@ void main() async {
expect(e, isA<StateError>());
expect(
(e as StateError).message,
'The MultipartFile has already been finalized. This typically '
'means you are using the same MultipartFile in repeated requests.',
'The MultipartFile has already been finalized. '
'This typically means you are using the same MultipartFile '
'in repeated requests.\n'
'Use MultipartFile.clone() or creates a new MultipartFile '
'for further usages.',
);
}

Expand Down

0 comments on commit 9786df7

Please sign in to comment.