Skip to content

Commit fa53046

Browse files
committed
getting tests to pass
1 parent 35571f4 commit fa53046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/mock_navigator.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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-
} on Exception catch (_) {}
20+
} on Object 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;

0 commit comments

Comments
 (0)