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

Unified Diff: test/run/does_not_run_on_transformer_error_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/run/does_not_run_on_transformer_error_test.dart
diff --git a/test/run/does_not_run_on_transformer_error_test.dart b/test/run/does_not_run_on_transformer_error_test.dart
index 0372b3465cbbaf9cb803168b7ab5671c05fb60df..154656c32de6cf646e3646a120b204071bcc5192 100644
--- a/test/run/does_not_run_on_transformer_error_test.dart
+++ b/test/run/does_not_run_on_transformer_error_test.dart
@@ -31,10 +31,13 @@ class FailingTransformer extends Transformer {
main() {
integration('does not run if a transformer has an error', () {
+ 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", [
@@ -46,8 +49,7 @@ main() {
])
]).create();
- createLockFile('myapp', pkg: ['barback']);
-
+ pubGet();
var pub = pubRun(args: ["bin/script"]);
pub.stderr.expect("[Error from Failing]:");
« no previous file with comments | « test/run/displays_transformer_logs_test.dart ('k') | test/run/doesnt_load_an_unnecessary_transformer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698