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

Unified Diff: tests/corelib/hash_map_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/corelib/core_runtime_types_test.dart ('k') | tests/corelib/list_iterators_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/hash_map_test.dart
diff --git a/tests/corelib/hash_map_test.dart b/tests/corelib/hash_map_test.dart
index af78d953e233e8b79ea21a668ac4232946201661..8d92047fd4f6ee162792a3bec10bee6be2c6087e 100644
--- a/tests/corelib/hash_map_test.dart
+++ b/tests/corelib/hash_map_test.dart
@@ -11,10 +11,10 @@ class HashMapTest {
// is used to verify that the test script is picking up these tests.
var m = new Map();
Expect.equals(0, m.length);
- Expect.equals(true, m.isEmpty());
+ Expect.equals(true, m.isEmpty);
m["one"] = 1;
Expect.equals(1, m.length);
- Expect.equals(false, m.isEmpty());
+ Expect.equals(false, m.isEmpty);
Expect.equals(1, m["one"]);
}
}
« no previous file with comments | « tests/corelib/core_runtime_types_test.dart ('k') | tests/corelib/list_iterators_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698