Merge pull request #1507 from matanlurey/strong_mode

Fix two strong-mode warnings
diff --git a/test/serve/utils.dart b/test/serve/utils.dart
index b432bad..f185ed8 100644
--- a/test/serve/utils.dart
+++ b/test/serve/utils.dart
@@ -233,7 +233,7 @@
 /// [root] indicates which server should be accessed, and defaults to "web".
 Future<http.Response> scheduleRequest(String urlPath,
     {String root, Map<String, String> headers}) {
-  return schedule(() {
+  return schedule/*<Future<http.Response>>*/(() {
     return http.get(_getServerUrlSync(root, urlPath), headers: headers);
   }, "request $urlPath");
 }
@@ -375,10 +375,10 @@
 ///
 /// Returns a [Future] that completes to the call's result.
 Future<Map> expectWebSocketResult(String method, Map params, result) {
-  return schedule(() {
+  return schedule/*<Future<Map>>*/(() {
     return Future.wait([
       webSocketRequest(method, params),
-      awaitObject(result)
+      awaitObject(result),
     ]).then((results) {
       var response = results[0];
       var resolvedResult = results[1];