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

Unified Diff: lib/compact_vm_config.dart

Issue 845153003: Bumped matcher version constraint (Closed) Base URL: https://github.com/dart-lang/unittest.git@master
Patch Set: Created 5 years, 11 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 | « CHANGELOG.md ('k') | lib/html_enhanced_config.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compact_vm_config.dart
diff --git a/lib/compact_vm_config.dart b/lib/compact_vm_config.dart
index d9bc0b4b1cb3d5fb12c54b5f67ffeba699f45f18..1fadfc1c4718e338280fa5d19361e33da0dd714e 100644
--- a/lib/compact_vm_config.dart
+++ b/lib/compact_vm_config.dart
@@ -92,13 +92,11 @@ 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 && uncaughtError == null) {
_print('\nNo tests ran.');
} else if (failed == 0 && errors == 0 && uncaughtError == null) {
_progressLine('All tests passed!', _NONE);
_print();
- success = true;
} else {
_progressLine('Some tests failed.', _RED);
_print();
@@ -138,7 +136,6 @@ class CompactVMConfiguration extends VMConfiguration {
color.length +
(_fail != 0 ? (_RED.length + _NONE.length) : 0);
int len = buffer.length - nonVisible;
- var mx = MAX_LINE - len;
buffer.write(_snippet(message, MAX_LINE - len));
buffer.write(_NONE);
« no previous file with comments | « CHANGELOG.md ('k') | lib/html_enhanced_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698