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

Unified Diff: tests/html/cache_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 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
Index: tests/html/cache_test.dart
diff --git a/tests/html/cache_test.dart b/tests/html/cache_test.dart
index d81770f23bfae73f70a61c45421771deb786cef3..4175d46f4d6c4a9bf44f3599207a1dc0b2944c3d 100644
--- a/tests/html/cache_test.dart
+++ b/tests/html/cache_test.dart
@@ -1,4 +1,5 @@
library CacheTest;
+
import 'package:unittest/unittest.dart';
import 'package:unittest/html_individual_config.dart';
import 'dart:html';
@@ -19,10 +20,8 @@ main() {
ApplicationCache appCache = window.applicationCache;
expect(cacheStatusToString(appCache.status), "UNCACHED");
}, expectation);
-
});
});
-
}
String cacheStatusToString(int status) {
@@ -35,11 +34,12 @@ String cacheStatusToString(int status) {
return 'CHECKING';
case ApplicationCache.DOWNLOADING: // DOWNLOADING == 3
return 'DOWNLOADING';
- case ApplicationCache.UPDATEREADY: // UPDATEREADY == 4
+ case ApplicationCache.UPDATEREADY: // UPDATEREADY == 4
return 'UPDATEREADY';
case ApplicationCache.OBSOLETE: // OBSOLETE == 5
return 'OBSOLETE';
default:
return 'UNKNOWN CACHE STATUS';
- };
+ }
+ ;
}

Powered by Google App Engine
This is Rietveld 408576698