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

Unified Diff: test/global/run/runs_transformer_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
Index: test/global/run/runs_transformer_test.dart
diff --git a/test/global/run/runs_transformer_test.dart b/test/global/run/runs_transformer_test.dart
index 69aace54ffcc3bddccf42a2970847c36a857171f..ac0489b9277fb9d765e670b19e5c8ff34d6f50ec 100644
--- a/test/global/run/runs_transformer_test.dart
+++ b/test/global/run/runs_transformer_test.dart
@@ -24,24 +24,22 @@ class DartTransformer extends Transformer {
""";
main() {
- withBarbackVersions("any", () {
- integration('runs a global script generated by a transformer', () {
- makeGlobalPackage("foo", "1.0.0", [
- d.pubspec({
- "name": "foo",
- "version": "1.0.0",
- "transformers": ["foo/src/transformer"]
- }),
- d.dir("lib", [d.dir("src", [
- d.file("transformer.dart", TRANSFORMER),
- d.file("primary.in", "")
- ])])
- ], pkg: ['barback']);
-
- var pub = pubRun(global: true, args: ["foo:script"]);
-
- pub.stdout.expect("generated");
- pub.shouldExit();
- });
+ integration('runs a global script generated by a transformer', () {
+ makeGlobalPackage("foo", "1.0.0", [
+ d.pubspec({
+ "name": "foo",
+ "version": "1.0.0",
+ "transformers": ["foo/src/transformer"]
+ }),
+ d.dir("lib", [d.dir("src", [
+ d.file("transformer.dart", TRANSFORMER),
+ d.file("primary.in", "")
+ ])])
+ ], pkg: ['barback']);
+
+ var pub = pubRun(global: true, args: ["foo:script"]);
+
+ pub.stdout.expect("generated");
+ pub.shouldExit();
});
}
« no previous file with comments | « test/dart2js/output_can_be_consumed_by_successive_phases.dart ('k') | test/run/displays_transformer_logs_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698