Index: tests/standalone/io/http_test.dart |
diff --git a/tests/standalone/io/http_test.dart b/tests/standalone/io/http_test.dart |
index df198bda53f8ebc1c894bb4840ec403ee8e09904..eab4b858265ca558e8a6a1ad46d4533e6648d1bf 100644 |
--- a/tests/standalone/io/http_test.dart |
+++ b/tests/standalone/io/http_test.dart |
@@ -431,6 +431,7 @@ void testReasonPhrase() { |
HttpClient httpClient = new HttpClient(); |
HttpClientConnection conn = |
httpClient.get("127.0.0.1", port, "/reasonformoving"); |
+ conn.followRedirects = false; |
conn.onResponse = (HttpClientResponse response) { |
Expect.equals(HttpStatus.MOVED_PERMANENTLY, response.statusCode); |
Expect.equals("Don't come looking here any more", response.reasonPhrase); |