Index: tests/language_strong/string_split_test.dart |
diff --git a/tests/language_strong/string_split_test.dart b/tests/language_strong/string_split_test.dart |
index 8cf00bb1a4aa0565607eeed933f2ec7f71fd1af2..c3c10d659a7cd73fce653b6a34bc747889be50ee 100644 |
--- a/tests/language_strong/string_split_test.dart |
+++ b/tests/language_strong/string_split_test.dart |
@@ -8,7 +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. |
+ bool noSuchMethod(Invocation im) {} // To appease dartanalyzer. |
} |
class EvilIterator implements Iterator { |
@@ -21,11 +21,11 @@ class EvilIterable extends Iterable { |
} |
class EvilPattern implements Pattern { |
- Iterable allMatches(String s, [int start=0]) => new EvilIterable(); |
- bool noSuchMethod(Invocation im) {} // To appease dartanalyzer. |
+ Iterable allMatches(String s, [int start = 0]) => new EvilIterable(); |
+ bool noSuchMethod(Invocation im) {} // To appease dartanalyzer. |
} |
void main() { |
- Expect.throws(() => "foo".split(new EvilPattern())[0].length, |
- (e) => e is RangeError); |
+ Expect.throws( |
+ () => "foo".split(new EvilPattern())[0].length, (e) => e is RangeError); |
} |