Index: pkg/dev_compiler/test/codegen/lib/html/css_rule_list_test.dart |
diff --git a/pkg/dev_compiler/test/codegen/lib/html/css_rule_list_test.dart b/pkg/dev_compiler/test/codegen/lib/html/css_rule_list_test.dart |
index ade3833ecd1abab46ad57fbad6c05d7d26e6643e..4a00f3ce56afe44c4d8d480cdec1a12703ab4e22 100644 |
--- a/pkg/dev_compiler/test/codegen/lib/html/css_rule_list_test.dart |
+++ b/pkg/dev_compiler/test/codegen/lib/html/css_rule_list_test.dart |
@@ -1,17 +1,13 @@ |
-library CssRuleListTest; |
-import 'package:unittest/unittest.dart'; |
-import 'package:unittest/html_config.dart'; |
import 'dart:html'; |
-main() { |
+import 'package:minitest/minitest.dart'; |
+main() { |
var isCssRuleList = |
predicate((x) => x is List<CssRule>, 'is a List<CssRule>'); |
- useHtmlConfiguration(); |
- |
test("ClientRectList test", () { |
- var sheet = document.styleSheets[0]; |
+ var sheet = document.styleSheets[0] as CssStyleSheet; |
List<CssRule> rulesList = sheet.cssRules; |
expect(rulesList, isCssRuleList); |
}); |