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

Unified Diff: pkg/barback/test/transformer/rewrite.dart

Issue 223553008: Only pass an AssetId to isPrimary and declareOutputs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix script_compactor Created 6 years, 8 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 | « pkg/barback/test/transformer/one_to_many.dart ('k') | pkg/barback/test/transformer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/test/transformer/rewrite.dart
diff --git a/pkg/barback/test/transformer/rewrite.dart b/pkg/barback/test/transformer/rewrite.dart
index 6525b07ad64b0b2afea2b129e6428295f88e2cab..995c94fff0c92cd474df4e4aa1cc3a71370de048 100644
--- a/pkg/barback/test/transformer/rewrite.dart
+++ b/pkg/barback/test/transformer/rewrite.dart
@@ -25,8 +25,8 @@ class RewriteTransformer extends MockTransformer {
/// created for each input.
RewriteTransformer(this.from, this.to);
- Future<bool> doIsPrimary(Asset asset) =>
- new Future.value(asset.id.extension == ".$from");
+ Future<bool> doIsPrimary(AssetId id) =>
+ new Future.value(id.extension == ".$from");
Future doApply(Transform transform) {
return getPrimary(transform).then((input) {
« no previous file with comments | « pkg/barback/test/transformer/one_to_many.dart ('k') | pkg/barback/test/transformer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698