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

Unified Diff: test/transformer/exclusion/include_asset_string_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/include_asset_string_test.dart
diff --git a/test/transformer/exclusion/include_asset_string_test.dart b/test/transformer/exclusion/include_asset_string_test.dart
index fff5765676f6c1485bf32e85a243f7537bf5311b..20a09a5124686a574a6e3750f482134e0c7910da 100644
--- a/test/transformer/exclusion/include_asset_string_test.dart
+++ b/test/transformer/exclusion/include_asset_string_test.dart
@@ -10,6 +10,8 @@ import '../../serve/utils.dart';
main() {
integration("allows a single string as the asset to include", () {
+ serveBarback();
+
d.dir(appPath, [
d.pubspec({
"name": "myapp",
@@ -19,7 +21,8 @@ main() {
"\$include": "web/foo.txt"
}
}
- ]
+ ],
+ "dependencies": {"barback": "any"}
}),
d.dir("lib", [d.dir("src", [
d.file("transformer.dart", REWRITE_TRANSFORMER)
@@ -33,8 +36,7 @@ main() {
])
]).create();
- createLockFile('myapp', pkg: ['barback']);
-
+ pubGet();
pubServe();
requestShouldSucceed("foo.out", "foo.out");
requestShould404("sub/foo.out");

Powered by Google App Engine
This is Rietveld 408576698