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

Unified Diff: tests/corelib/string_buffer_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/reg_exp_all_matches_test.dart ('k') | tests/html/documentfragment_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/string_buffer_test.dart
diff --git a/tests/corelib/string_buffer_test.dart b/tests/corelib/string_buffer_test.dart
index 94b941ceb2320e2a27f965ef64b244cc1758e978..fac65607a9e57be66fb2c656fc9baef766bcec1c 100644
--- a/tests/corelib/string_buffer_test.dart
+++ b/tests/corelib/string_buffer_test.dart
@@ -7,7 +7,7 @@
class StringBufferTest {
static testConstructor() {
StringBuffer bf = new StringBuffer("");
- Expect.equals(true, bf.isEmpty());
+ Expect.equals(true, bf.isEmpty);
bf = new StringBuffer("abc");
Expect.equals(3, bf.length);
@@ -16,7 +16,7 @@ class StringBufferTest {
static testAdd() {
StringBuffer bf = new StringBuffer("");
- Expect.equals(true, bf.isEmpty());
+ Expect.equals(true, bf.isEmpty);
bf.add("a");
Expect.equals(1, bf.length);
@@ -80,9 +80,9 @@ class StringBufferTest {
static testIsEmpty() {
StringBuffer bf = new StringBuffer("");
- Expect.equals(true, bf.isEmpty());
+ Expect.equals(true, bf.isEmpty);
bf.add("foo");
- Expect.equals(false, bf.isEmpty());
+ Expect.equals(false, bf.isEmpty);
}
static testAddAll() {
« no previous file with comments | « tests/corelib/reg_exp_all_matches_test.dart ('k') | tests/html/documentfragment_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698