Index: utils/tests/pub/validator/size_test.dart |
diff --git a/utils/tests/pub/validator/size_test.dart b/utils/tests/pub/validator/size_test.dart |
index 47c7d1e686f10bb9b65261e286ee7c50e8e59c71..3dd1e2148f7b79d2a062b6982371ce5bad97bc69 100644 |
--- a/utils/tests/pub/validator/size_test.dart |
+++ b/utils/tests/pub/validator/size_test.dart |
@@ -16,7 +16,7 @@ import 'utils.dart'; |
Function size(int size) { |
return (entrypoint) => |
- new SizeValidator(entrypoint, new Future.immediate(size)); |
+ new SizeValidator(entrypoint, new Future.value(size)); |
} |
main() { |