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

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

Issue 10389017: Add Exception to the class name for recently added exception classes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 months 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
« no previous file with comments | « runtime/bin/http_impl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « runtime/bin/http_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698