Skip to content

Commit

Permalink
Fix test on Flutter stable
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgilder committed Jul 19, 2023
1 parent 4300ff6 commit 5a15d62
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example/book_store/test/helpers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Future<void> recordUrlChanges(
final args = call.arguments as Map;
final location = args.containsKey('uri')
? args['uri'] as String
: args['path'] as String;
: args['location'] as String;

tracker.current = location;
stackTraces.add(StackTrace.current);
Expand Down
2 changes: 1 addition & 1 deletion example/mobile_app/test/helpers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Future<void> recordUrlChanges(
final args = call.arguments as Map;
final location = args.containsKey('uri')
? args['uri'] as String
: args['path'] as String;
: args['location'] as String;

tracker.current = location;
stackTraces.add(StackTrace.current);
Expand Down
2 changes: 1 addition & 1 deletion test/helpers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Future<void> recordUrlChanges(
final args = call.arguments as Map;
final location = args.containsKey('uri')
? args['uri'] as String
: args['path'] as String;
: args['location'] as String;

tracker.current = location;
}
Expand Down
2 changes: 1 addition & 1 deletion test/route_update_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ Future<void> trackRoute(
final args = call.arguments as Map;
final location = args.containsKey('uri')
? args['uri'] as String
: args['path'] as String;
: args['location'] as String;

tracker.systemUrl = location;
}
Expand Down

0 comments on commit 5a15d62

Please sign in to comment.