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

Unified Diff: pkg/dev_compiler/test/codegen/lib/html/cache_test.dart

Issue 2413073002: Start cleaning up the HTML tests. (Closed)
Patch Set: Unfork expect.dart. Created 4 years, 2 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: pkg/dev_compiler/test/codegen/lib/html/cache_test.dart
diff --git a/pkg/dev_compiler/test/codegen/lib/html/cache_test.dart b/pkg/dev_compiler/test/codegen/lib/html/cache_test.dart
index d81770f23bfae73f70a61c45421771deb786cef3..0f31997e323a4da3ea00f232ed6730a56f37926b 100644
--- a/pkg/dev_compiler/test/codegen/lib/html/cache_test.dart
+++ b/pkg/dev_compiler/test/codegen/lib/html/cache_test.dart
@@ -1,14 +1,11 @@
-library CacheTest;
-import 'package:unittest/unittest.dart';
-import 'package:unittest/html_individual_config.dart';
import 'dart:html';
-main() {
- useHtmlIndividualConfiguration();
+import 'package:minitest/minitest.dart';
+main() {
group('supported', () {
test('supported', () {
- expect(ApplicationCache.supported, true);
+ expect(ApplicationCache.supported, isTrue);
});
});
@@ -19,10 +16,8 @@ main() {
ApplicationCache appCache = window.applicationCache;
expect(cacheStatusToString(appCache.status), "UNCACHED");
}, expectation);
-
});
});
-
}
String cacheStatusToString(int status) {

Powered by Google App Engine
This is Rietveld 408576698