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

Unified Diff: tests/corelib/reg_exp_start_end_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/co19/co19-runtime.status ('k') | tests/corelib/string_pattern_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/reg_exp_start_end_test.dart
diff --git a/tests/corelib/reg_exp_start_end_test.dart b/tests/corelib/reg_exp_start_end_test.dart
index 06463e4803e2d93c5cf31fa401374c2c986fb903..80b4634a44d0dc83028ca2ca590a509e29b56d31 100644
--- a/tests/corelib/reg_exp_start_end_test.dart
+++ b/tests/corelib/reg_exp_start_end_test.dart
@@ -10,8 +10,8 @@ main() {
int end = 5;
while (it.hasNext) {
Match match = it.next();
- Expect.equals(start, match.start());
- Expect.equals(end, match.end());
+ Expect.equals(start, match.start);
+ Expect.equals(end, match.end);
start += 6;
end += 6;
}
« no previous file with comments | « tests/co19/co19-runtime.status ('k') | tests/corelib/string_pattern_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698