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

Unified Diff: tests/corelib/string_pattern_test.dart

Issue 36073010: Remove deprecated 'str' getter on Match. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated expectations. Created 7 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-co19.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/string_pattern_test.dart
diff --git a/tests/corelib/string_pattern_test.dart b/tests/corelib/string_pattern_test.dart
index 25e12e795f9add7ed9f6d056c5a979fd93b10ab6..c1bd241b7c9cca90e9ca540bae4348c4cdac478f 100644
--- a/tests/corelib/string_pattern_test.dart
+++ b/tests/corelib/string_pattern_test.dart
@@ -34,7 +34,7 @@ testOneMatch() {
Expect.equals(str.indexOf('with', 0), match.start);
Expect.equals(str.indexOf('with', 0) + helloPattern.length, match.end);
Expect.equals(helloPattern, match.pattern);
- Expect.equals(str, match.str);
+ Expect.equals(str, match.input);
Expect.equals(helloPattern, match[0]);
Expect.equals(0, match.groupCount);
}
@@ -51,7 +51,7 @@ testTwoMatches() {
Expect.equals(
str.indexOf('hello', start) + helloPattern.length, match.end);
Expect.equals(helloPattern, match.pattern);
- Expect.equals(str, match.str);
+ Expect.equals(str, match.input);
Expect.equals(helloPattern, match[0]);
Expect.equals(0, match.groupCount);
start = match.end;
« no previous file with comments | « tests/co19/co19-co19.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698