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

Unified Diff: pkg/oauth2/lib/src/client.dart

Issue 14694002: Fix a broken oauth2 test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « no previous file | pkg/oauth2/test/client_test.dart » ('j') | pkg/oauth2/test/client_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/oauth2/lib/src/client.dart
diff --git a/pkg/oauth2/lib/src/client.dart b/pkg/oauth2/lib/src/client.dart
index 62a06cad16e84c0378f9f59390f15113cef23b23..62e22884496b16868deb25b6728a7342c89d6870 100644
--- a/pkg/oauth2/lib/src/client.dart
+++ b/pkg/oauth2/lib/src/client.dart
@@ -110,7 +110,7 @@ class Client extends http.BaseClient {
throw new AuthorizationException(
params['error'], params['error_description'],
- Uri.parse(params['error_uri']));
+ params['error_uri'] == null ? null : Uri.parse(params['error_uri']));
});
}
« no previous file with comments | « no previous file | pkg/oauth2/test/client_test.dart » ('j') | pkg/oauth2/test/client_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698