Index: utils/tests/pub/version_solver_test.dart |
diff --git a/utils/tests/pub/version_solver_test.dart b/utils/tests/pub/version_solver_test.dart |
index 97d7eb6673eade78623ac01e71f3dd9ecd3b177d..eb37f640d893097449827f1a9fd546d3d2f9777f 100644 |
--- a/utils/tests/pub/version_solver_test.dart |
+++ b/utils/tests/pub/version_solver_test.dart |
@@ -528,7 +528,7 @@ class MockVersionlessSource extends Source { |
Future fakeAsync(callback()) { |
var completer = new Completer(); |
- new Timer(0, (_) { |
+ Timer.run(() { |
completer.complete(callback()); |
}); |