[platform_channels] Bump go_router to 10.1.0 (#1999)

## Description 

Bumps go_router to 10.1.0 and updates test case.

## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
pull/2005/head
Ayush Bherwani 10 months ago committed by GitHub
parent 612cf191d0
commit 1d29647450
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,7 +11,7 @@ dependencies:
sdk: flutter
cupertino_icons: ^1.0.3
go_router: ^8.0.0
go_router: ^10.1.0
dev_dependencies:
analysis_defaults:

@ -39,7 +39,8 @@ void main() {
expect(petList.last['breed'], 'Persian');
// Navigate back to /petListScreen
expect(router.location, '/petListScreen');
await tester.pumpAndSettle();
expect(router.routeInformationProvider.value.uri.path, '/petListScreen');
});
});
}

Loading…
Cancel
Save