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

Unified Diff: tests/html/xmldocument_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/query_test.dart ('k') | tests/html/xmlelement_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/xmldocument_test.dart
diff --git a/tests/html/xmldocument_test.dart b/tests/html/xmldocument_test.dart
index 3dba45eb7d899a81c56edb99dd6df6779fc72abc..dccf15b043c9313c5900912f75be6a946049ef2f 100644
--- a/tests/html/xmldocument_test.dart
+++ b/tests/html/xmldocument_test.dart
@@ -121,8 +121,8 @@ main() {
});
test('isEmpty', () {
- Expect.isFalse(makeClassSet().isEmpty());
- Expect.isTrue(makeDocument().classes.isEmpty());
+ Expect.isFalse(makeClassSet().isEmpty);
+ Expect.isTrue(makeDocument().classes.isEmpty);
});
test('length', () {
@@ -534,7 +534,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/query_test.dart ('k') | tests/html/xmlelement_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698