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

Unified Diff: test/transformer/exclusion/works_on_dart2js_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_dart2js_test.dart
diff --git a/test/transformer/exclusion/works_on_dart2js_test.dart b/test/transformer/exclusion/works_on_dart2js_test.dart
index a240502a7ca5396ccb0a3f8b702679f75b2b0447..c96d234759b2ec901201b7d5e492617792f66e94 100644
--- a/test/transformer/exclusion/works_on_dart2js_test.dart
+++ b/test/transformer/exclusion/works_on_dart2js_test.dart
@@ -13,6 +13,8 @@ import '../../serve/utils.dart';
main() {
integration("works on the dart2js transformer", () {
+ serveBarback();
+
d.dir(appPath, [
d.pubspec({
"name": "myapp",
@@ -23,7 +25,8 @@ main() {
"\$exclude": "web/a.dart"
}
}
- ]
+ ],
+ "dependencies": {"barback": "any"}
}),
d.dir("web", [
d.file("a.dart", "void main() => print('hello');"),
@@ -32,8 +35,7 @@ main() {
])
]).create();
- createLockFile('myapp', pkg: ['barback']);
-
+ pubGet();
var server = pubServe();
// Dart2js should remain lazy.
server.stdout.expect("Build completed successfully");

Powered by Google App Engine
This is Rietveld 408576698