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

Unified Diff: test/run/runs_transformer_in_entrypoint_test.dart

Issue 1530353002: Drop support for older Barback versions. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: 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
« no previous file with comments | « test/run/runs_a_generated_script_test.dart ('k') | test/serve/allows_arbitrary_modes_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/run/runs_transformer_in_entrypoint_test.dart
diff --git a/test/run/runs_transformer_in_entrypoint_test.dart b/test/run/runs_transformer_in_entrypoint_test.dart
index 807d815239f90c243086d7ae778e7c0a5b3a20db..ca53a2a09dd514b0ec61ff5c0535fba917f77791 100644
--- a/test/run/runs_transformer_in_entrypoint_test.dart
+++ b/test/run/runs_transformer_in_entrypoint_test.dart
@@ -14,27 +14,25 @@ main() {
""";
main() {
- withBarbackVersions("any", () {
- integration('runs transformers in the entrypoint package', () {
- d.dir(appPath, [
- d.pubspec({
- "name": "myapp",
- "transformers": ["myapp/src/transformer"]
- }),
- d.dir("lib", [d.dir("src", [
- d.file("transformer.dart", dartTransformer("transformed"))
- ])]),
- d.dir("bin", [
- d.file("hi.dart", SCRIPT)
- ])
- ]).create();
+ integration('runs transformers in the entrypoint package', () {
+ d.dir(appPath, [
+ d.pubspec({
+ "name": "myapp",
+ "transformers": ["myapp/src/transformer"]
+ }),
+ d.dir("lib", [d.dir("src", [
+ d.file("transformer.dart", dartTransformer("transformed"))
+ ])]),
+ d.dir("bin", [
+ d.file("hi.dart", SCRIPT)
+ ])
+ ]).create();
- createLockFile('myapp', pkg: ['barback']);
+ createLockFile('myapp', pkg: ['barback']);
- var pub = pubRun(args: ["bin/hi"]);
+ var pub = pubRun(args: ["bin/hi"]);
- pub.stdout.expect("(hi, transformed)");
- pub.shouldExit();
- });
+ pub.stdout.expect("(hi, transformed)");
+ pub.shouldExit();
});
}
« no previous file with comments | « test/run/runs_a_generated_script_test.dart ('k') | test/serve/allows_arbitrary_modes_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698