Index: test/run/resource_test.dart |
diff --git a/test/run/resource_test.dart b/test/run/resource_test.dart |
index 85ba4c0a1be0b2f32af17ebaf3c9758c54d0f158..99775195ce6d37972ad5f2991931143130145a0c 100644 |
--- a/test/run/resource_test.dart |
+++ b/test/run/resource_test.dart |
@@ -96,10 +96,13 @@ main() async { |
}); |
integration('the spawned application can load a transformed resource', () { |
+ serveBarback(); |
+ |
d.dir(appPath, [ |
d.pubspec({ |
"name": "myapp", |
- "transformers": ["myapp/src/transformer"] |
+ "transformers": ["myapp/src/transformer"], |
+ "dependencies": {"barback": "any"} |
}), |
d.dir("lib", [ |
d.file("resource.in", "hello!"), |
@@ -121,8 +124,7 @@ main() async { |
]) |
]).create(); |
- createLockFile('myapp', pkg: ['barback']); |
- |
+ pubGet(); |
var pub = pubRun(args: ["bin/script"]); |
// TODO(nweiz): Enable this when sdk#23990 is fixed. |