From 39c43a7399054c97f8dfbad5ab8bee519ea64850 Mon Sep 17 00:00:00 2001 From: Manuinder Sekhon Date: Sat, 27 May 2023 01:54:19 +0530 Subject: [PATCH] fix: flutter analyse errors --- example/test/widget_test.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/example/test/widget_test.dart b/example/test/widget_test.dart index 7937503..aa79990 100644 --- a/example/test/widget_test.dart +++ b/example/test/widget_test.dart @@ -13,12 +13,13 @@ import 'package:infinite_carousel_example/main.dart'; void main() { testWidgets('Verify Platform version', (WidgetTester tester) async { // Build our app and trigger a frame. - await tester.pumpWidget(MyApp()); + await tester.pumpWidget(const MyApp()); // Verify that platform version is retrieved. expect( find.byWidgetPredicate( - (Widget widget) => widget is Text && widget.data!.startsWith('Running on:'), + (Widget widget) => + widget is Text && widget.data!.startsWith('Running on:'), ), findsOneWidget, );