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)}"); |