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

Unified Diff: lib/metatest.dart

Issue 877433003: metatest: Update min version of unittest to support development (Closed) Base URL: https://github.com/dart-lang/metatest.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') | pubspec.yaml » ('j') | pubspec.yaml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/metatest.dart
diff --git a/lib/metatest.dart b/lib/metatest.dart
index c8b5660a9bc750ce331d9452322bb18c27ee3ccf..d037a0e1b9e4d913eebf02657ab257f8ec8be0fe 100644
--- a/lib/metatest.dart
+++ b/lib/metatest.dart
@@ -214,7 +214,6 @@ String _summarizeTests(Map results) {
buffer.writeln();
- var success = false;
if (results['passed'] == 0 && results['failed'] == 0 &&
results['errors'] == 0 && results['uncaughtError'] == null) {
buffer.write('No tests found.');
@@ -222,7 +221,6 @@ String _summarizeTests(Map results) {
} else if (results['failed'] == 0 && results['errors'] == 0 &&
results['uncaughtError'] == null) {
buffer.write('All ${results['passed']} tests passed.');
- success = true;
} else {
if (results['uncaughtError'] != null) {
buffer.write('Top-level uncaught error: ${results['uncaughtError']}');
« no previous file with comments | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | pubspec.yaml » ('J')

Powered by Google App Engine
This is Rietveld 408576698