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

Unified Diff: tools/testing/dart/test_runner.dart

Issue 9845029: Fixes two type warnings in test_runner.dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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: tools/testing/dart/test_runner.dart
diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart
index 34d193dda321534ecf0e4ff69eb8f2070262606e..9dd9e0295c25dcc097b1fc68b8e9910c5063bc1e 100644
--- a/tools/testing/dart/test_runner.dart
+++ b/tools/testing/dart/test_runner.dart
@@ -331,12 +331,12 @@ class AnalysisTestOutputImpl extends TestOutputImpl {
if (line.length == 0) continue;
List<String> fields = splitMachineError(line);
if (fields[0] == 'ERROR') {
- errors.add(fields);
+ errors.add(fields[7]);
Bill Hesse 2012/03/23 22:16:08 Perhaps add a comment that the relevant data is in
zundel 2012/03/24 01:06:39 Added constants. In the case of multitests, it lo
} else if (fields[0] == 'WARNING') {
// We only care about testing Static type warnings
// ignore all others
if (fields[1] == 'STATIC_TYPE') {
- staticWarnings.add(fields);
+ staticWarnings.add(fields[7]);
}
}
// OK to Skip error output that doesn't match the machine format
« 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