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

Unified Diff: tools/gardening/lib/src/buildbot_structures.dart

Issue 2987253002: Add test to compare-failures (Closed)
Patch Set: Created 3 years, 5 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 | « tools/gardening/lib/src/buildbot_loading.dart ('k') | tools/gardening/lib/src/client.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gardening/lib/src/buildbot_structures.dart
diff --git a/tools/gardening/lib/src/buildbot_structures.dart b/tools/gardening/lib/src/buildbot_structures.dart
index 3cbd500689e636ec6d8fe1607dede5edeffdda76..3e198b32361e91bce1ea0e9ce859c7e0cfebfd50 100644
--- a/tools/gardening/lib/src/buildbot_structures.dart
+++ b/tools/gardening/lib/src/buildbot_structures.dart
@@ -166,8 +166,8 @@ class TestFailure {
String testName = parts[3];
TestConfiguration id =
new TestConfiguration(configName, archName, testName);
- String expected = split(lines[1], ['Expected: '])[1];
- String actual = split(lines[2], ['Actual: '])[1];
+ String expected = split(lines[1], ['Expected: '])[1].trim();
+ String actual = split(lines[2], ['Actual: '])[1].trim();
return new TestFailure.internal(
uri, id, expected, actual, lines.skip(3).join('\n'));
}
« no previous file with comments | « tools/gardening/lib/src/buildbot_loading.dart ('k') | tools/gardening/lib/src/client.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698