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

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

Issue 8775007: Allow varying case in the expected outcome (Pass, PASS). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 | « tests/standalone/src/StatusExpressionTest.dart ('k') | tools/testing/dart/status_file_parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/status_expression.dart
diff --git a/tools/testing/dart/status_expression.dart b/tools/testing/dart/status_expression.dart
index 9f664897ea6cb5f85dd18876e0dfde71356e0990..c9996676e5ea454af100242fb686a472ae7daa75 100644
--- a/tools/testing/dart/status_expression.dart
+++ b/tools/testing/dart/status_expression.dart
@@ -162,7 +162,7 @@ class SetIf implements SetExpression {
class SetConstant implements SetExpression {
String value;
- SetConstant(this.value);
+ SetConstant(String v) : value = v.toLowerCase();
Set<String> evaluate(environment) => new Set<String>.from([value]);
String toString() => value;
« no previous file with comments | « tests/standalone/src/StatusExpressionTest.dart ('k') | tools/testing/dart/status_file_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698