| Index: tests/corelib/string_split_test.dart
|
| diff --git a/tests/corelib/string_split_test.dart b/tests/corelib/string_split_test.dart
|
| index 3f63ed173964f370178fc45ff51c0aba61fba71b..de7b2492eba492f35821d37b4f5c79e1c9c9eae7 100644
|
| --- a/tests/corelib/string_split_test.dart
|
| +++ b/tests/corelib/string_split_test.dart
|
| @@ -10,7 +10,6 @@ main() {
|
| testSplitPattern();
|
| }
|
|
|
| -
|
| testSplit(List expect, String string, Pattern pattern) {
|
| String patternString;
|
| if (pattern is String) {
|
| @@ -20,8 +19,8 @@ testSplit(List expect, String string, Pattern pattern) {
|
| } else {
|
| patternString = pattern.toString();
|
| }
|
| - Expect.listEquals(expect, string.split(pattern),
|
| - '"$string".split($patternString)');
|
| + Expect.listEquals(
|
| + expect, string.split(pattern), '"$string".split($patternString)');
|
| }
|
|
|
| /** String patterns. */
|
| @@ -43,8 +42,8 @@ void testSplitString() {
|
| // No overlapping matches. Match as early as possible.
|
| testSplit(["", "", "", "a"], "aaaaaaa", "aa");
|
| // Cannot split the empty string.
|
| - testSplit([], "", ""); // Match.
|
| - testSplit([""], "", "a"); // No match.
|
| + testSplit([], "", ""); // Match.
|
| + testSplit([""], "", "a"); // No match.
|
| }
|
|
|
| /** RegExp patterns. */
|
|
|