Index: pkg/scheduled_test/lib/src/scheduled_server/safe_http_server.dart |
diff --git a/pkg/scheduled_test/lib/src/scheduled_server/safe_http_server.dart b/pkg/scheduled_test/lib/src/scheduled_server/safe_http_server.dart |
index 7e4e4ccc28c0280899959f13455ba6b8c060fafb..37b16c83391044bfaba64a6d02162de4f66d994b 100644 |
--- a/pkg/scheduled_test/lib/src/scheduled_server/safe_http_server.dart |
+++ b/pkg/scheduled_test/lib/src/scheduled_server/safe_http_server.dart |
@@ -135,7 +135,7 @@ class _HttpResponseWrapper implements HttpResponse { |
Future<HttpResponse> consume(Stream<List<int>> stream) => |
_inner.consume(stream); |
Future<HttpResponse> addStream(Stream<List<int>> stream) => |
- _inner.writeStream(stream); |
+ _inner.addStream(stream); |
Future<HttpResponse> writeStream(Stream<List<int>> stream) => |
_inner.writeStream(stream); |
Future close() => _inner.close(); |
@@ -144,4 +144,5 @@ class _HttpResponseWrapper implements HttpResponse { |
_inner.writeAll(objects, separator); |
void writeCharCode(int charCode) => _inner.writeCharCode(charCode); |
void writeln([Object obj = ""]) => _inner.writeln(obj); |
+ void addError(AsyncError error) => _inner.addError(error); |
} |