File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11/// A package that makes it easy to mock, test and verify
22/// navigation calls in Flutter.
3- library mockingjay ;
3+ library ;
44
55export 'package:mocktail/mocktail.dart' ;
66
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ class _RouteMatcher<T> extends Matcher {
9494 hasMaintainStateMatcher ||
9595 hasFullscreenDialogMatcher;
9696
97- /// Takes an [input] string that looks like "FooBarRoute<MyType>" and extracts
97+ /// Takes an [input] string that looks like "FooBarRoute\ <MyType\ >" and extracts
9898 /// the part "MyType".
9999 ///
100100 /// If the `Route<` part cannot be found, it returns the input string
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class _MockMaterialPageRoute extends MaterialPageRoute<void> {
1717 // By the time the setState is called, the attribute is already set
1818 // so we just ignore the error and the hack will do its job.
1919 state.insert (entry);
20- } catch (_) {}
20+ } on Exception catch (_) {}
2121 // Set mounted back to false to make sure the state doesn't get
2222 // marked as dirty during OverlayEntry.remove().
2323 state._mounted = false ;
You can’t perform that action at this time.
0 commit comments