Skip to content

Commit 2a15e58

Browse files
committed
fix test
1 parent 4a1d9ee commit 2a15e58

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/go_router/test/extension_test.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ void main() {
3838
final GoRouter router = await createGoRouter(tester);
3939
await tester.tap(find.text('Settings'));
4040
await tester.pumpAndSettle();
41-
final ImperativeRouteMatch routeMatch = router
42-
.routerDelegate.currentConfiguration.last as ImperativeRouteMatch;
43-
expect(routeMatch.matches.uri.toString(),
41+
expect(router.routerDelegate.currentConfiguration.uri.toString(),
4442
'/page-0/settings?search=notification');
4543
});
4644
});

0 commit comments

Comments
 (0)