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

Unified Diff: test/transformer/exclusion/works_on_transformer_group_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/exclusion/works_on_transformer_group_test.dart
diff --git a/test/transformer/exclusion/works_on_transformer_group_test.dart b/test/transformer/exclusion/works_on_transformer_group_test.dart
index 9ccf3b091a6965efa013ff9c1fb7572cf93dc497..9b724636c1f4e14041fbdd14ab6c776f5c08ce8c 100644
--- a/test/transformer/exclusion/works_on_transformer_group_test.dart
+++ b/test/transformer/exclusion/works_on_transformer_group_test.dart
@@ -22,6 +22,8 @@ class RewriteGroup implements TransformerGroup {
main() {
integration("works on a transformer group", () {
+ serveBarback();
+
d.dir(appPath, [
d.pubspec({
"name": "myapp",
@@ -32,7 +34,8 @@ main() {
"\$exclude": "web/a.txt"
}
}
- ]
+ ],
+ "dependencies": {"barback": "any"}
}),
d.dir("lib", [d.dir("src", [
d.file("transformer.dart", REWRITE_TRANSFORMER),
@@ -45,8 +48,7 @@ main() {
])
]).create();
- createLockFile('myapp', pkg: ['barback']);
-
+ pubGet();
pubServe();
requestShould404("a.out");
requestShouldSucceed("b.out", "b.txt.out");

Powered by Google App Engine
This is Rietveld 408576698