From 39412b5ebe94cebd516109744dd077e53883e771 Mon Sep 17 00:00:00 2001 From: Chun-Heng Tai Date: Fri, 3 Nov 2023 12:58:33 -0700 Subject: [PATCH] update --- packages/go_router/example/test/extra_codec_test.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/go_router/example/test/extra_codec_test.dart b/packages/go_router/example/test/extra_codec_test.dart index 989fcbcbec26..7358cfc614ed 100644 --- a/packages/go_router/example/test/extra_codec_test.dart +++ b/packages/go_router/example/test/extra_codec_test.dart @@ -8,16 +8,16 @@ import 'package:go_router_examples/extra_codec.dart' as example; void main() { testWidgets('example works', (WidgetTester tester) async { await tester.pumpWidget(const example.MyApp()); - expect(find.text('extra for this page is: null'), findsOneWidget); + expect(find.text('The extra for this page is: null'), findsOneWidget); await tester.tap(find.text('Set extra to ComplexData1')); await tester.pumpAndSettle(); - expect(find.text('extra for this page is: ComplexData1(data: data)'), + expect(find.text('The extra for this page is: ComplexData1(data: data)'), findsOneWidget); await tester.tap(find.text('Set extra to ComplexData2')); await tester.pumpAndSettle(); - expect(find.text('extra for this page is: ComplexData2(data: data)'), + expect(find.text('The extra for this page is: ComplexData2(data: data)'), findsOneWidget); }); }