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 c531d80d8a2c554638a44441b44896983220a771..c0f85b0a87594cff2937a03f9e4a6855b030a429 100644 |
--- a/pkg/unittest/lib/compact_vm_config.dart |
+++ b/pkg/unittest/lib/compact_vm_config.dart |
@@ -56,7 +56,7 @@ class CompactVMConfiguration extends VMConfiguration { |
} else { |
_fail++; |
_progressLine(_start, _pass, _fail, test.description); |
- print(''); |
+ stdout.write('\n'); |
if (test.message != '') { |
print(indent(test.message)); |
} |
@@ -71,7 +71,7 @@ class CompactVMConfiguration extends VMConfiguration { |
_pass--; |
_fail++; |
_progressLine(_start, _pass, _fail, test.description); |
- print(''); |
+ stdout.write('\n'); |
if (test.message != '') { |
print(indent(test.message)); |
} |
@@ -97,11 +97,11 @@ class CompactVMConfiguration extends VMConfiguration { |
print('\nNo tests ran.'); |
} else if (failed == 0 && errors == 0 && uncaughtError == null) { |
_progressLine(_start, _pass, _fail, 'All tests passed!', _NONE); |
- print(''); |
+ stdout.write('\n'); |
success = true; |
} else { |
_progressLine(_start, _pass, _fail, 'Some tests failed.', _RED); |
- print(''); |
+ stdout.write('\n'); |
if (uncaughtError != null) { |
print('Top-level uncaught error: $uncaughtError'); |
} |