From 9786df79d4022e1e0520618a1759827bde8fe6a2 Mon Sep 17 00:00:00 2001 From: Alex Li Date: Mon, 7 Oct 2024 13:37:58 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Fix=20string=20matching?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dio/test/multipart_file_test.dart | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dio/test/multipart_file_test.dart b/dio/test/multipart_file_test.dart index b858736ee..273da52b1 100644 --- a/dio/test/multipart_file_test.dart +++ b/dio/test/multipart_file_test.dart @@ -63,8 +63,11 @@ void main() async { expect(e, isA()); 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.', ); }