Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jonny Borges
2020-12-16 10:35:15 -0300
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2020-12-16 10:35:15 -0300
Commit
5fab9186bd6f79bc838809d8814d792da7769e79
5fab9186
2 parents
b4b1c654
9dc41691
Merge pull request #917 from SchabanBo/master
Fix example test #916
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
example/test/main_test.dart
example/test/main_test.dart
View file @
5fab918
...
...
@@ -82,15 +82,15 @@ void main() {
widgetTest:
(
tester
)
async
{
expect
(
'/home'
,
Get
.
currentRoute
);
Get
.
toNamed
(
'/country'
);
expect
(
'/country'
,
Get
.
currentRoute
);
Get
.
toNamed
(
'/home/country'
);
expect
(
'/home/country'
,
Get
.
currentRoute
);
Get
.
toNamed
(
'/details'
);
expect
(
'/details'
,
Get
.
currentRoute
);
Get
.
toNamed
(
'/home/country/details'
);
expect
(
'/home/country/details'
,
Get
.
currentRoute
);
Get
.
back
();
expect
(
'/country'
,
Get
.
currentRoute
);
expect
(
'/
home/
country'
,
Get
.
currentRoute
);
},
);
...
...
Please
register
or
login
to post a comment