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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/CoreRuntimeTypesTest.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
Index: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/CoreRuntimeTypesTest.dart
diff --git a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/CoreRuntimeTypesTest.dart b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/CoreRuntimeTypesTest.dart
index afb6eefb2bc33f7d86a20215e65006246c7601f1..2af89a3a85cc8c19ce94d5612bdec5ab4e55b316 100644
--- a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/CoreRuntimeTypesTest.dart
+++ b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/CoreRuntimeTypesTest.dart
@@ -158,7 +158,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);
@@ -187,10 +187,10 @@ class CoreRuntimeTypesTest {
// TODO(jimhug): Fill out full set of array methods.
static testArrayMethods() {
var a = [1,2,3,4];
- assertEquals(a.isEmpty(), false);
+ assertEquals(a.isEmpty, false);
assertEquals(a.length, 4);
a.clear();
- assertEquals(a.isEmpty(), false);
+ assertEquals(a.isEmpty, false);
assertEquals(a.length, 4);
assertEquals(a.length, 4);
}

Powered by Google App Engine
This is Rietveld 408576698