Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1154)

Unified Diff: pkg/unittest/lib/compact_vm_config.dart

Issue 187003003: fix printing in compact vm config (this broke after the changes to make stdout (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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');
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698