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; |