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

Unified Diff: tests/html/css_rule_list_test.dart

Issue 11419300: Dartifying dart:html type names. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Unminifying & fixing Stephen's feedback. Created 8 years 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
« no previous file with comments | « tests/html/cache_test.dart ('k') | tests/html/css_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/css_rule_list_test.dart
diff --git a/tests/html/css_rule_list_test.dart b/tests/html/css_rule_list_test.dart
index 441397d1893766553fd2650bc8823d98c43abeaa..21224df1acf454029de1d9c7af5f41a7e462a28f 100644
--- a/tests/html/css_rule_list_test.dart
+++ b/tests/html/css_rule_list_test.dart
@@ -1,18 +1,18 @@
-library CSSRuleListTest;
+library CssRuleListTest;
import '../../pkg/unittest/lib/unittest.dart';
import '../../pkg/unittest/lib/html_config.dart';
import 'dart:html';
main() {
- var isCSSRuleList =
- predicate((x) => x is List<CSSRule>, 'is a List<CSSRule>');
+ var isCssRuleList =
+ predicate((x) => x is List<CssRule>, 'is a List<CssRule>');
useHtmlConfiguration();
test("ClientRectList test", () {
var sheet = document.styleSheets[0];
- List<CSSRule> rulesList = sheet.cssRules;
- expect(rulesList, isCSSRuleList);
+ List<CssRule> rulesList = sheet.cssRules;
+ expect(rulesList, isCssRuleList);
});
}
« no previous file with comments | « tests/html/cache_test.dart ('k') | tests/html/css_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698