Index: tools/testing/dart/status_expression.dart |
diff --git a/tools/testing/dart/status_expression.dart b/tools/testing/dart/status_expression.dart |
index c5b0b8042450922fc97ffe783a1670d3eafa5ad2..3804d1daecb47f829a67aab2364539b2685bd7dc 100644 |
--- a/tools/testing/dart/status_expression.dart |
+++ b/tools/testing/dart/status_expression.dart |
@@ -172,7 +172,7 @@ class SetConstant implements SetExpression { |
SetConstant(String v) : value = v.toLowerCase(); |
- Set<String> evaluate(environment) => new Set<String>.from([value]); |
+ Set<String> evaluate(environment) => [value].toSet(); |
String toString() => value; |
} |