forked from firka/flutter
Remove no longer needed clean up code (#44408)
This commit is contained in:
@@ -479,11 +479,6 @@ Future<void> main() async {
|
||||
|
||||
Navigator.pop(heroes.evaluate().first);
|
||||
await tester.pump(); // ...and removes it straight away (since it's already at 0.0)
|
||||
|
||||
// this is verifying that there's no crash
|
||||
|
||||
// TODO(ianh): once https://github.com/flutter/flutter/issues/5631 is fixed, remove this line:
|
||||
await tester.pump(const Duration(hours: 1));
|
||||
});
|
||||
|
||||
testWidgets('Overlapping starting and ending a hero transition works ok', (WidgetTester tester) async {
|
||||
@@ -513,11 +508,6 @@ Future<void> main() async {
|
||||
Navigator.pop(heroes.evaluate().first);
|
||||
await tester.pump(const Duration(hours: 1)); // so the first transition is finished, but the second hasn't started
|
||||
await tester.pump();
|
||||
|
||||
// this is verifying that there's no crash
|
||||
|
||||
// TODO(ianh): once https://github.com/flutter/flutter/issues/5631 is fixed, remove this line:
|
||||
await tester.pump(const Duration(hours: 1));
|
||||
});
|
||||
|
||||
testWidgets('One route, two heroes, same tag, throws', (WidgetTester tester) async {
|
||||
|
||||
Reference in New Issue
Block a user