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

Unified Diff: test/credentials_test.dart

Issue 1311323002: Modernize the style. (Closed) Base URL: git@github.com:dart-lang/oauth2.git@master
Patch Set: Created 5 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
Index: test/credentials_test.dart
diff --git a/test/credentials_test.dart b/test/credentials_test.dart
index 3bd44d301d1670a886aaafa10314131e083ea2c4..d72614f01ab00a1b6cf9fd35f0e879091da1ab33 100644
--- a/test/credentials_test.dart
+++ b/test/credentials_test.dart
@@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library credentials_test;
-
import 'dart:async';
import 'dart:convert';
@@ -15,9 +13,8 @@ import 'utils.dart';
final Uri tokenEndpoint = Uri.parse('http://example.com/token');
-ExpectClient httpClient;
-
void main() {
+ var httpClient;
setUp(() => httpClient = new ExpectClient());
test('is not expired if no expiration exists', () {

Powered by Google App Engine
This is Rietveld 408576698