Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: tests/standalone/io/http_redirect_test.dart

Issue 11411121: Generate an error for active connections when the HTTP client is shutdown (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed long line Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/standalone/io/http_redirect_test.dart
diff --git a/tests/standalone/io/http_redirect_test.dart b/tests/standalone/io/http_redirect_test.dart
index 668225e35028b5faa472d5d1298ad12d506b80ea..4ea9fe061ce1dc4efed85d64a55bfbf394cec934 100644
--- a/tests/standalone/io/http_redirect_test.dart
+++ b/tests/standalone/io/http_redirect_test.dart
@@ -91,7 +91,7 @@ void testManualRedirect() {
client.getUrl(new Uri.fromString("http://127.0.0.1:${server.port}/1"));
conn.followRedirects = false;
conn.onResponse = (HttpClientResponse response) {
- response.inputStream.onData = () => response.inputStream.read();
+ response.inputStream.onData = response.inputStream.read;
response.inputStream.onClosed = () {
redirectCount++;
if (redirectCount < 10) {

Powered by Google App Engine
This is Rietveld 408576698