Chromium Code Reviews| Index: lib/unittest/expect.dart |
| =================================================================== |
| --- lib/unittest/expect.dart (revision 9562) |
| +++ lib/unittest/expect.dart (working copy) |
| @@ -112,8 +112,9 @@ |
| description.add('Expected: ').addDescriptionOf(matcher). |
| add('\n but: '); |
| matcher.describeMismatch(actual, description); |
| + description.add('.\n'); |
| if (reason != null) { |
| - description.add('\n').add(reason).add('\n'); |
| + description.add(reason).add('\n'); |
| } |
| return description.toString(); |
| } |