Chromium Code Reviews| Index: lib/unittest/core_matchers.dart |
| =================================================================== |
| --- lib/unittest/core_matchers.dart (revision 9562) |
| +++ lib/unittest/core_matchers.dart (working copy) |
| @@ -166,7 +166,7 @@ |
| } |
| } |
| } |
| - if (reason != null) { |
| + if (reason != null && location.length > 0) { |
| reason.add(' ').add(location); |
| } |
| return reason; |