Index: pkg/barback/test/transformer/many_to_one.dart |
diff --git a/pkg/barback/test/transformer/many_to_one.dart b/pkg/barback/test/transformer/many_to_one.dart |
index 6806bfe26562a022c769cd19b971f7072d74ab07..a7414f6d1b931103e547b87ff5e99362d308bb03 100644 |
--- a/pkg/barback/test/transformer/many_to_one.dart |
+++ b/pkg/barback/test/transformer/many_to_one.dart |
@@ -23,8 +23,7 @@ class ManyToOneTransformer extends MockTransformer { |
/// files at each of those paths. |
ManyToOneTransformer(this.extension); |
- Future<bool> doIsPrimary(AssetId id) => |
- new Future.value(id.extension == ".$extension"); |
+ bool doIsPrimary(AssetId id) => id.extension == ".$extension"; |
Future doApply(Transform transform) { |
return getPrimary(transform) |