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

Unified Diff: test/transformer/exclusion/exclude_asset_prefix_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/exclude_asset_prefix_test.dart
diff --git a/test/transformer/exclusion/exclude_asset_prefix_test.dart b/test/transformer/exclusion/exclude_asset_prefix_test.dart
index e6adb1801eaf03295ef941246edece2aa4184e0b..1ef49eb0348ab8c29fa2a9b0bbb36ce771087305 100644
--- a/test/transformer/exclusion/exclude_asset_prefix_test.dart
+++ b/test/transformer/exclusion/exclude_asset_prefix_test.dart
@@ -10,6 +10,8 @@ import '../../serve/utils.dart';
main() {
integration("allows a directory prefix to exclude", () {
+ serveBarback();
+
d.dir(appPath, [
d.pubspec({
"name": "myapp",
@@ -19,7 +21,8 @@ main() {
"\$exclude": "web/sub"
}
}
- ]
+ ],
+ "dependencies": {"barback": "any"}
}),
d.dir("lib", [d.dir("src", [
d.file("transformer.dart", REWRITE_TRANSFORMER)
@@ -36,8 +39,7 @@ main() {
])
]).create();
- createLockFile('myapp', pkg: ['barback']);
-
+ pubGet();
pubServe();
requestShouldSucceed("foo.out", "foo.out");
requestShouldSucceed("bar.out", "bar.out");
« no previous file with comments | « test/transformer/exclusion/exclude_asset_list_test.dart ('k') | test/transformer/exclusion/exclude_asset_string_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698