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

Unified Diff: tests/language/reg_ex2_test.dart

Issue 11266050: Rename regexp methods to getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase and update status files 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/string_pattern_test.dart ('k') | utils/pub/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/reg_ex2_test.dart
diff --git a/tests/language/reg_ex2_test.dart b/tests/language/reg_ex2_test.dart
index aaa3d5e4b2aab11986616957fb0ff0b820797674..6e323f38f5a963f58ba2f83345db8d3a29a41103 100644
--- a/tests/language/reg_ex2_test.dart
+++ b/tests/language/reg_ex2_test.dart
@@ -10,7 +10,7 @@ class RegEx2Test {
Match match = helloPattern.firstMatch(s);
if (match != null) {
print("got match");
- int groupCount = match.groupCount();
+ int groupCount = match.groupCount;
print("groupCount is $groupCount");
print("group 0 is ${match.group(0)}");
print("group 1 is ${match.group(1)}");
« no previous file with comments | « tests/corelib/string_pattern_test.dart ('k') | utils/pub/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698