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(); |