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

Unified Diff: test/transformer/prints_a_transform_error_in_apply_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/prints_a_transform_error_in_apply_test.dart
diff --git a/test/transformer/prints_a_transform_error_in_apply_test.dart b/test/transformer/prints_a_transform_error_in_apply_test.dart
index d4cb53306dacde21691a5cd8c232b01030529934..1e630322f63975ed301f34ebf2d068d366e74b7d 100644
--- a/test/transformer/prints_a_transform_error_in_apply_test.dart
+++ b/test/transformer/prints_a_transform_error_in_apply_test.dart
@@ -24,10 +24,13 @@ class RewriteTransformer extends Transformer {
main() {
integration("prints a transform error in apply", () {
+ 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)
@@ -37,8 +40,7 @@ main() {
])
]).create();
- createLockFile('myapp', pkg: ['barback']);
-
+ pubGet();
var server = pubServe();
server.stderr.expect(emitsLines(
'Build error:\n'

Powered by Google App Engine
This is Rietveld 408576698