We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a1d9ee commit 2a15e58Copy full SHA for 2a15e58
packages/go_router/test/extension_test.dart
@@ -38,9 +38,7 @@ void main() {
38
final GoRouter router = await createGoRouter(tester);
39
await tester.tap(find.text('Settings'));
40
await tester.pumpAndSettle();
41
- final ImperativeRouteMatch routeMatch = router
42
- .routerDelegate.currentConfiguration.last as ImperativeRouteMatch;
43
- expect(routeMatch.matches.uri.toString(),
+ expect(router.routerDelegate.currentConfiguration.uri.toString(),
44
'/page-0/settings?search=notification');
45
});
46
0 commit comments