Skip to content

Commit

Permalink
fix: flutter analyse errors
Browse files Browse the repository at this point in the history
  • Loading branch information
manuindersekhon committed May 26, 2023
1 parent b8187ea commit 39c43a7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions example/test/widget_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
Expand Down

0 comments on commit 39c43a7

Please sign in to comment.