Showing
1 changed file
with
5 additions
and
5 deletions
@@ -82,15 +82,15 @@ void main() { | @@ -82,15 +82,15 @@ void main() { | ||
82 | widgetTest: (tester) async { | 82 | widgetTest: (tester) async { |
83 | expect('/home', Get.currentRoute); | 83 | expect('/home', Get.currentRoute); |
84 | 84 | ||
85 | - Get.toNamed('/country'); | ||
86 | - expect('/country', Get.currentRoute); | 85 | + Get.toNamed('/home/country'); |
86 | + expect('/home/country', Get.currentRoute); | ||
87 | 87 | ||
88 | - Get.toNamed('/details'); | ||
89 | - expect('/details', Get.currentRoute); | 88 | + Get.toNamed('/home/country/details'); |
89 | + expect('/home/country/details', Get.currentRoute); | ||
90 | 90 | ||
91 | Get.back(); | 91 | Get.back(); |
92 | 92 | ||
93 | - expect('/country', Get.currentRoute); | 93 | + expect('/home/country', Get.currentRoute); |
94 | }, | 94 | }, |
95 | ); | 95 | ); |
96 | 96 |
-
Please register or login to post a comment