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

Unified Diff: test/transformer/can_use_has_input_test.dart

Issue 1523323004: Install barback from a hosted source in all tests. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Merge for real. Created 5 years 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: test/transformer/can_use_has_input_test.dart
diff --git a/test/transformer/can_use_has_input_test.dart b/test/transformer/can_use_has_input_test.dart
index 1e497445771e4516c4b541417c98d3cfddaa0865..61329d15406255159374eaf7d3a25052ad61b8c1 100644
--- a/test/transformer/can_use_has_input_test.dart
+++ b/test/transformer/can_use_has_input_test.dart
@@ -34,10 +34,13 @@ class RewriteTransformer extends Transformer {
main() {
integration("a transform can use hasInput", () {
+ serveBarback();
+
d.dir(appPath, [
d.pubspec({
"name": "myapp",
- "transformers": ["myapp/src/transformer"]
+ "transformers": ["myapp/src/transformer"],
+ "dependencies": {"barback": "any"}
}),
d.dir("lib", [d.dir("src", [
d.file("transformer.dart", TRANSFORMER)
@@ -47,8 +50,7 @@ main() {
])
]).create();
- createLockFile('myapp', pkg: ['barback']);
-
+ pubGet();
pubServe();
requestShouldSucceed("foo.out", "primary: true, secondary: false");
endPubServe();
« no previous file with comments | « test/transformer/can_use_consume_primary_test.dart ('k') | test/transformer/can_use_read_input_as_string_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698