Index: pkg/scheduled_test/lib/scheduled_test.dart |
diff --git a/pkg/scheduled_test/lib/scheduled_test.dart b/pkg/scheduled_test/lib/scheduled_test.dart |
index b46dc45006e26c2d35d5c2c92c1179424abbbed7..6e7b7549d6c53d4c72379e79025c125213b99f5a 100644 |
--- a/pkg/scheduled_test/lib/scheduled_test.dart |
+++ b/pkg/scheduled_test/lib/scheduled_test.dart |
@@ -228,8 +228,6 @@ void _test(String description, void body(), Function testFn) { |
assert(e.schedule.errors.contains(e)); |
assert(e.schedule == currentSchedule); |
unittest.registerException(e.schedule.errorString()); |
- } else if (e is AsyncError) { |
- unittest.registerException(e.error, e.stackTrace); |
} else { |
unittest.registerException(e); |
} |