Remove no longer needed clean up code (#44408)

This commit is contained in:
Casey Hillers
2019-11-14 09:38:12 -08:00
committed by GitHub
parent e77c24ef91
commit 5506cc5b15

View File

@@ -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 {