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

Unified Diff: pkg/oauth2/test/credentials_test.dart

Issue 22284003: pkg: analysis aided cleanup (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: nits Created 7 years, 4 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 | « pkg/oauth2/test/client_test.dart ('k') | pkg/oauth2/test/handle_access_token_response_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/oauth2/test/credentials_test.dart
diff --git a/pkg/oauth2/test/credentials_test.dart b/pkg/oauth2/test/credentials_test.dart
index 768b85a12bbe2bd49a8163711fc8fd964f2a9031..6a873f27c86b430885d0766f7f2812cdfadbf6d1 100644
--- a/pkg/oauth2/test/credentials_test.dart
+++ b/pkg/oauth2/test/credentials_test.dart
@@ -5,7 +5,6 @@
library credentials_test;
import 'dart:async';
-import 'dart:io';
import 'dart:json' as JSON;
import 'package:http/http.dart' as http;
@@ -82,7 +81,7 @@ void main() {
}), 200, headers: {'content-type': 'application/json'}));
});
-
+
expect(credentials.refresh('identifier', 'secret', httpClient: httpClient)
.then((credentials) {
expect(credentials.accessToken, equals('new access token'));
@@ -111,7 +110,7 @@ void main() {
}), 200, headers: {'content-type': 'application/json'}));
});
-
+
expect(credentials.refresh('identifier', 'secret', httpClient: httpClient)
.then((credentials) {
expect(credentials.accessToken, equals('new access token'));
« no previous file with comments | « pkg/oauth2/test/client_test.dart ('k') | pkg/oauth2/test/handle_access_token_response_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698