Index: pkg/unittest/config.dart |
=================================================================== |
--- pkg/unittest/config.dart (revision 11393) |
+++ pkg/unittest/config.dart (working copy) |
@@ -104,11 +104,7 @@ |
var success = false; |
if (passed == 0 && failed == 0 && errors == 0) { |
print('No tests found.'); |
- // This is considered a failure too: if this happens you probably have a |
- // bug in your unit tests, unless you are filtering. |
- if (filter != null) { |
- success = true; |
- } |
+ // This is considered a failure too. |
} else if (failed == 0 && errors == 0 && uncaughtError == null) { |
print('All $passed tests passed.'); |
success = true; |