Skip to content

Commit

Permalink
Merge pull request #917 from SchabanBo/master
Browse files Browse the repository at this point in the history
Fix example test #916
  • Loading branch information
jonataslaw authored Dec 16, 2020
2 parents b4b1c65 + 9dc4169 commit 5fab918
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions example/test/main_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
);

Expand Down

0 comments on commit 5fab918

Please sign in to comment.