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

Unified Diff: tests/html/xmlelement_test.dart

Issue 11238035: Make isEmpty a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file with co19 issue number. Created 8 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
« no previous file with comments | « tests/html/xmldocument_test.dart ('k') | tests/language/compile_time_constant_a_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/xmlelement_test.dart
diff --git a/tests/html/xmlelement_test.dart b/tests/html/xmlelement_test.dart
index d3b1437c2eda67e26da6d6d885d6c6c5e354a838..151867337f6d146d1a7bf08644b10d9765e8f66f 100644
--- a/tests/html/xmlelement_test.dart
+++ b/tests/html/xmlelement_test.dart
@@ -136,8 +136,8 @@ main() {
});
test('isEmpty', () {
- Expect.isFalse(makeClassSet().isEmpty());
- Expect.isTrue(makeElement().classes.isEmpty());
+ Expect.isFalse(makeClassSet().isEmpty);
+ Expect.isTrue(makeElement().classes.isEmpty);
});
test('length', () {
@@ -570,7 +570,7 @@ main() {
expectEmptyRect(rect.offset);
expectEmptyRect(rect.scroll);
expectEmptyRect(rect.bounding);
- Expect.isTrue(rect.clientRects.isEmpty());
+ Expect.isTrue(rect.clientRects.isEmpty);
}));
});
}
« no previous file with comments | « tests/html/xmldocument_test.dart ('k') | tests/language/compile_time_constant_a_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698