Index: test/test_utils.dart |
diff --git a/test/test_utils.dart b/test/test_utils.dart |
index c29bec91c68b4d08737afe41c8c60d4c9b88e214..4df8e2ef6c742b79c37adc1972af3c1f11c90447 100644 |
--- a/test/test_utils.dart |
+++ b/test/test_utils.dart |
@@ -65,7 +65,9 @@ void shouldPass(value, Matcher matcher, {bool isAsync: false}) { |
} |
doesNotThrow() {} |
-doesThrow() { throw 'X'; } |
+doesThrow() { |
+ throw 'X'; |
+} |
class PrefixMatcher extends Matcher { |
final String _prefix; |
@@ -75,8 +77,8 @@ class PrefixMatcher extends Matcher { |
(collapseWhitespace(item)).startsWith(collapseWhitespace(_prefix)); |
} |
- Description describe(Description description) => |
- description.add('a string starting with '). |
- addDescriptionOf(collapseWhitespace(_prefix)). |
- add(' ignoring whitespace'); |
+ Description describe(Description description) => description |
+ .add('a string starting with ') |
+ .addDescriptionOf(collapseWhitespace(_prefix)) |
+ .add(' ignoring whitespace'); |
} |