From 5506cc5b151c1e30905be5be58b1fcf6c9ea5bf9 Mon Sep 17 00:00:00 2001 From: Casey Hillers Date: Thu, 14 Nov 2019 09:38:12 -0800 Subject: [PATCH] Remove no longer needed clean up code (#44408) --- packages/flutter/test/widgets/heroes_test.dart | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/packages/flutter/test/widgets/heroes_test.dart b/packages/flutter/test/widgets/heroes_test.dart index 9737ccfa2b..23e32911a6 100644 --- a/packages/flutter/test/widgets/heroes_test.dart +++ b/packages/flutter/test/widgets/heroes_test.dart @@ -479,11 +479,6 @@ Future 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 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 {