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

Unified Diff: test/run/runs_transformer_in_entrypoint_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
« no previous file with comments | « test/run/runs_a_generated_script_test.dart ('k') | test/serve/allows_arbitrary_modes_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/run/runs_transformer_in_entrypoint_test.dart
diff --git a/test/run/runs_transformer_in_entrypoint_test.dart b/test/run/runs_transformer_in_entrypoint_test.dart
index ca53a2a09dd514b0ec61ff5c0535fba917f77791..9a773ab227aad388a5cf8d0f3998da925d3b52ea 100644
--- a/test/run/runs_transformer_in_entrypoint_test.dart
+++ b/test/run/runs_transformer_in_entrypoint_test.dart
@@ -15,10 +15,13 @@ main() {
main() {
integration('runs transformers in the entrypoint package', () {
+ 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", dartTransformer("transformed"))
@@ -28,8 +31,7 @@ main() {
])
]).create();
- createLockFile('myapp', pkg: ['barback']);
-
+ pubGet();
var pub = pubRun(args: ["bin/hi"]);
pub.stdout.expect("(hi, transformed)");
« no previous file with comments | « test/run/runs_a_generated_script_test.dart ('k') | test/serve/allows_arbitrary_modes_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698