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

Unified Diff: tests/language/compile_time_constant_b_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/language/compile_time_constant_a_test.dart ('k') | tests/language/string_intrinsics_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/compile_time_constant_b_test.dart
diff --git a/tests/language/compile_time_constant_b_test.dart b/tests/language/compile_time_constant_b_test.dart
index e7c3be1269b679510764ea20b062b5bc97aaae53..7dce3cf8fd0a5f7b564c51cd2c8fa28b906b190a 100644
--- a/tests/language/compile_time_constant_b_test.dart
+++ b/tests/language/compile_time_constant_b_test.dart
@@ -25,7 +25,7 @@ main() {
});
Expect.listEquals(['__proto__'], seenKeys);
Expect.listEquals([499], seenValues);
- Expect.isFalse(m1.isEmpty());
+ Expect.isFalse(m1.isEmpty);
Expect.equals(1, m1.length);
Expect.throws(() => m1.remove('__proto__'), isUnsupportedError);
Expect.throws(() => m1.remove('b'), isUnsupportedError);
@@ -57,7 +57,7 @@ main() {
});
Expect.listEquals(['a', 'b'], seenKeys);
Expect.listEquals([499, 42], seenValues);
- Expect.isFalse(m2.isEmpty());
+ Expect.isFalse(m2.isEmpty);
Expect.equals(2, m2.length);
Expect.throws(() => m2.remove('a'), isUnsupportedError);
Expect.throws(() => m2.remove('b'), isUnsupportedError);
« no previous file with comments | « tests/language/compile_time_constant_a_test.dart ('k') | tests/language/string_intrinsics_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698