Index: tests/language/string_split_test.dart |
diff --git a/tests/language/string_split_test.dart b/tests/language/string_split_test.dart |
index 56189ccf937d70170ca0b73512ff4dcd5f130e5f..8cf00bb1a4aa0565607eeed933f2ec7f71fd1af2 100644 |
--- a/tests/language/string_split_test.dart |
+++ b/tests/language/string_split_test.dart |
@@ -8,6 +8,7 @@ import "package:expect/expect.dart"; |
class EvilMatch implements Match { |
int get start => 100000000; |
int get end => 3; |
+ bool noSuchMethod(Invocation im) {} // To appease dartanalyzer. |
} |
class EvilIterator implements Iterator { |
@@ -20,7 +21,8 @@ class EvilIterable extends Iterable { |
} |
class EvilPattern implements Pattern { |
- Iterable allMatches(String s) => new EvilIterable(); |
+ Iterable allMatches(String s, [int start=0]) => new EvilIterable(); |
+ bool noSuchMethod(Invocation im) {} // To appease dartanalyzer. |
} |
void main() { |