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

Unified Diff: third_party/pkg/barback-0.13.0/test/transformer/rewrite.dart

Issue 291843011: Run pub tests against older versions of barback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 7 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
Index: third_party/pkg/barback-0.13.0/test/transformer/rewrite.dart
diff --git a/pkg/barback/test/transformer/rewrite.dart b/third_party/pkg/barback-0.13.0/test/transformer/rewrite.dart
similarity index 93%
copy from pkg/barback/test/transformer/rewrite.dart
copy to third_party/pkg/barback-0.13.0/test/transformer/rewrite.dart
index d25a552a29f8e55cd46983fd1df91f255fca2db3..995c94fff0c92cd474df4e4aa1cc3a71370de048 100644
--- a/pkg/barback/test/transformer/rewrite.dart
+++ b/third_party/pkg/barback-0.13.0/test/transformer/rewrite.dart
@@ -25,7 +25,8 @@ class RewriteTransformer extends MockTransformer {
/// created for each input.
RewriteTransformer(this.from, this.to);
- bool doIsPrimary(AssetId id) => id.extension == ".$from";
+ Future<bool> doIsPrimary(AssetId id) =>
+ new Future.value(id.extension == ".$from");
Future doApply(Transform transform) {
return getPrimary(transform).then((input) {

Powered by Google App Engine
This is Rietveld 408576698