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'; |
- }; |
+ } |
+ ; |
} |