Index: pkg/barback/test/transformer/check_content.dart |
diff --git a/pkg/barback/test/transformer/check_content.dart b/pkg/barback/test/transformer/check_content.dart |
index 0696c72c9480aaac12082de39862e85c773f8e25..d9cecfabac6d1f24f20fffd7feb4c45ccd9d3725 100644 |
--- a/pkg/barback/test/transformer/check_content.dart |
+++ b/pkg/barback/test/transformer/check_content.dart |
@@ -17,7 +17,7 @@ class CheckContentTransformer extends MockTransformer { |
CheckContentTransformer(this.content, this.addition); |
- Future<bool> doIsPrimary(AssetId id) => new Future.value(true); |
+ bool doIsPrimary(AssetId id) => true; |
Future doApply(Transform transform) { |
return getPrimary(transform).then((primary) { |