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

Unified Diff: tests/corelib/core_runtime_types_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/compiler/dart2js_native/native_null_frog_test.dart ('k') | tests/corelib/hash_map_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/core_runtime_types_test.dart
diff --git a/tests/corelib/core_runtime_types_test.dart b/tests/corelib/core_runtime_types_test.dart
index 22087b97561f41a4ed5e1b85c042f9b31300310e..660ee980a0516afb9ed409cbdababfb0a593de2a 100644
--- a/tests/corelib/core_runtime_types_test.dart
+++ b/tests/corelib/core_runtime_types_test.dart
@@ -171,7 +171,7 @@ class CoreRuntimeTypesTest {
// TODO(jimhug): Fill out full set of string methods.
static testStringMethods() {
var s = "abcdef";
- assertEquals(s.isEmpty(), false);
+ assertEquals(s.isEmpty, false);
assertEquals(s.startsWith("abc"), true);
assertEquals(s.endsWith("def"), true);
assertEquals(s.startsWith("aa"), false);
@@ -199,7 +199,7 @@ class CoreRuntimeTypesTest {
// TODO(jimhug): Fill out full set of list methods.
static testListMethods() {
var a = [1,2,3,4];
- assertEquals(a.isEmpty(), false);
+ assertEquals(a.isEmpty, false);
assertEquals(a.length, 4);
var exception = null;
a.clear();
« no previous file with comments | « tests/compiler/dart2js_native/native_null_frog_test.dart ('k') | tests/corelib/hash_map_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698