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

Unified Diff: tests/html/element_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/element_classes_test.dart ('k') | tests/html/htmlcollection_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/element_test.dart
diff --git a/tests/html/element_test.dart b/tests/html/element_test.dart
index 10a7e5a74f4a102a477fa71803ae0be2c6794fcd..5295a076b5b4859fcc850434602ebaefc395efe6 100644
--- a/tests/html/element_test.dart
+++ b/tests/html/element_test.dart
@@ -530,8 +530,8 @@ main() {
});
test('isEmpty', () {
- Expect.isTrue(makeElement().elements.isEmpty());
- Expect.isFalse(makeElementWithChildren().elements.isEmpty());
+ Expect.isTrue(makeElement().elements.isEmpty);
+ Expect.isFalse(makeElementWithChildren().elements.isEmpty);
});
test('length', () {
@@ -672,8 +672,8 @@ main() {
});
test('isEmpty', () {
- Expect.isTrue(getEmptyQueryAll().isEmpty());
- Expect.isFalse(getQueryAll().isEmpty());
+ Expect.isTrue(getEmptyQueryAll().isEmpty);
+ Expect.isFalse(getQueryAll().isEmpty);
});
test('length', () {
« no previous file with comments | « tests/html/element_classes_test.dart ('k') | tests/html/htmlcollection_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698