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

Unified Diff: tests/corelib/reg_exp_all_matches_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/list_test.dart ('k') | tests/corelib/string_buffer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/reg_exp_all_matches_test.dart
diff --git a/tests/corelib/reg_exp_all_matches_test.dart b/tests/corelib/reg_exp_all_matches_test.dart
index 9ea1bbf9186a51972f923b98bf4f26e6c99f2549..fb4616c2f06c3a8833d0c5bd1eb57469ee647214 100644
--- a/tests/corelib/reg_exp_all_matches_test.dart
+++ b/tests/corelib/reg_exp_all_matches_test.dart
@@ -87,9 +87,9 @@ class RegExpAllMatchesTest {
static testIsEmpty() {
var matches = new RegExp("foo?").allMatches("foo fo foo fo");
- Expect.equals(false, matches.isEmpty());
+ Expect.equals(false, matches.isEmpty);
matches = new RegExp("fooo").allMatches("foo fo foo fo");
- Expect.equals(true, matches.isEmpty());
+ Expect.equals(true, matches.isEmpty);
}
static testGetCount() {
« no previous file with comments | « tests/corelib/list_test.dart ('k') | tests/corelib/string_buffer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698