From dba72c5cacb2ef15fa0bcfcf8beb40ca3eda66c6 Mon Sep 17 00:00:00 2001 From: Ashita Prasad Date: Wed, 20 Sep 2023 07:17:21 +0530 Subject: [PATCH] Update codegen_previewer_test.dart --- test/widgets/codegen_previewer_test.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/widgets/codegen_previewer_test.dart b/test/widgets/codegen_previewer_test.dart index 665f5a0c..8310087e 100644 --- a/test/widgets/codegen_previewer_test.dart +++ b/test/widgets/codegen_previewer_test.dart @@ -80,7 +80,9 @@ void main() async { await tester.pump(); await tester.pump(const Duration(seconds: 1)); - expect(find.text('Kotlin (OkHttp)'), findsWidgets); + expect(find.text('Kotlin (okhttp3)'), findsWidgets); + expect(find.text('Python (http.client)'), findsWidgets); + expect(find.text('Python (requests)'), findsWidgets); expect(find.textContaining('Error Status Code', findRichText: true), findsOneWidget);