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 99b0a36dedc6f8aa1762e85d6de47868cbbf687e..65513a986010ad2372f179d3846e428762f2a219 100644 |
--- a/tests/standalone/io/http_redirect_test.dart |
+++ b/tests/standalone/io/http_redirect_test.dart |
@@ -101,7 +101,7 @@ void testAutoRedirect() { |
response.inputStream.onClosed = () => Expect.fail("Response not expected"); |
}; |
conn.onError = (e) { |
- Expect.isTrue(e is RedirectLimitExceeded); |
+ Expect.isTrue(e is RedirectLimitExceededException); |
Expect.equals(5, e.redirects.length); |
server.close(); |
client.shutdown(); |
@@ -120,7 +120,7 @@ void testRedirectLoop() { |
response.inputStream.onClosed = () => Expect.fail("Response not expected"); |
}; |
conn.onError = (e) { |
- Expect.isTrue(e is RedirectLoop); |
+ Expect.isTrue(e is RedirectLoopException); |
Expect.equals(2, e.redirects.length); |
server.close(); |
client.shutdown(); |