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

Unified Diff: test/transformer/exclusion/works_on_lazy_transformer_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_lazy_transformer_test.dart
diff --git a/test/transformer/exclusion/works_on_lazy_transformer_test.dart b/test/transformer/exclusion/works_on_lazy_transformer_test.dart
index 30d159090ce9f5d979d5684e80c45d19b450cbc8..3638eb3886f5e433ac995a25d06c9f76e61455e2 100644
--- a/test/transformer/exclusion/works_on_lazy_transformer_test.dart
+++ b/test/transformer/exclusion/works_on_lazy_transformer_test.dart
@@ -13,6 +13,8 @@ import '../../serve/utils.dart';
main() {
integration("works on a lazy transformer", () {
+ serveBarback();
+
d.dir(appPath, [
d.pubspec({
"name": "myapp",
@@ -23,7 +25,8 @@ main() {
"\$exclude": "web/a.txt"
}
}
- ]
+ ],
+ "dependencies": {"barback": "any"}
}),
d.dir("lib", [d.file("transformer.dart", LAZY_TRANSFORMER)]),
d.dir("web", [
@@ -33,8 +36,7 @@ main() {
])
]).create();
- createLockFile('myapp', pkg: ['barback']);
-
+ pubGet();
var server = pubServe();
// The transformer should remain lazy.
server.stdout.expect("Build completed successfully");
« no previous file with comments | « test/transformer/exclusion/works_on_dart2js_test.dart ('k') | test/transformer/exclusion/works_on_transformer_group_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698