Index: pkg/barback/test/package_graph/transform/transform_test.dart |
diff --git a/pkg/barback/test/package_graph/transform/transform_test.dart b/pkg/barback/test/package_graph/transform/transform_test.dart |
index dce5e2cd15586ea2cc38cdca8b26b81f232b88ec..969261a1125ba6f90ed91a15bb8e4e72b09d26c8 100644 |
--- a/pkg/barback/test/package_graph/transform/transform_test.dart |
+++ b/pkg/barback/test/package_graph/transform/transform_test.dart |
@@ -342,6 +342,15 @@ main() { |
buildShouldSucceed(); |
}); |
+ test("gets a asset transformed by a sync transformer", () { |
Bob Nystrom
2014/04/22 18:23:49
"a asset" -> "an asset".
nweiz
2014/04/22 19:57:57
Done.
|
+ initGraph(["app|foo.blub"], {"app": [ |
+ [new SyncRewriteTransformer("blub", "blab")] |
+ ]}); |
+ updateSources(["app|foo.blub"]); |
+ expectAsset("app|foo.blab", "new.blab"); |
+ buildShouldSucceed(); |
+ }); |
+ |
group("Transform.hasInput", () { |
test("returns whether an input exists", () { |
initGraph(["app|foo.txt", "app|bar.txt"], {'app': [ |