Index: pkg/unittest/lib/compact_vm_config.dart |
diff --git a/pkg/unittest/lib/compact_vm_config.dart b/pkg/unittest/lib/compact_vm_config.dart |
index 99658c8fca20e330121405d78eb1e9e1038fc787..0b64cfdee5364658007fa39a8352201eb35538c5 100644 |
--- a/pkg/unittest/lib/compact_vm_config.dart |
+++ b/pkg/unittest/lib/compact_vm_config.dart |
@@ -64,7 +64,7 @@ class CompactVMConfiguration extends VMConfiguration { |
void onSummary(int passed, int failed, int errors, List<TestCase> results, |
String uncaughtError) { |
var success = false; |
- if (passed == 0 && failed == 0 && errors == 0) { |
+ if (passed == 0 && failed == 0 && errors == 0 && uncaughtError == null) { |
print('\nNo tests ran.'); |
} else if (failed == 0 && errors == 0 && uncaughtError == null) { |
_progressLine(_start, _pass, _fail, 'All tests pass', _GREEN); |