Skip to content

Commit

Permalink
Fix example test
Browse files Browse the repository at this point in the history
  • Loading branch information
SchabanBo committed Dec 16, 2020
1 parent 2bed458 commit 9dc4169
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 9dc4169

Please sign in to comment.