Fix return type in test functions
diff --git a/test/http_cross_process_test.dart b/test/http_cross_process_test.dart
index 56f198f..334ddd7 100644
--- a/test/http_cross_process_test.dart
+++ b/test/http_cross_process_test.dart
@@ -39,7 +39,7 @@
});
}
-Future<Process> runClientProcess(int port) {
+Future<void> runClientProcess(int port) {
var script =
"${Directory.current.path}/test/http_client_stays_alive_test.dart";
if (!(new File(script)).existsSync()) {
diff --git a/test/http_keep_alive_test.dart b/test/http_keep_alive_test.dart
index 266be96..7157465 100644
--- a/test/http_keep_alive_test.dart
+++ b/test/http_keep_alive_test.dart
@@ -7,7 +7,7 @@
import 'package:http_io/http_io.dart';
import 'package:test/test.dart';
-Future<int> getData(HttpClient client, int port, bool chunked, int length) {
+Future<void> getData(HttpClient client, int port, bool chunked, int length) {
return client
.get("127.0.0.1", port, "/?chunked=$chunked&length=$length")
.then((request) => request.close())