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

Unified Diff: test/run/runs_a_generated_script_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/resource_test.dart ('k') | test/run/runs_transformer_in_entrypoint_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/run/runs_a_generated_script_test.dart
diff --git a/test/run/runs_a_generated_script_test.dart b/test/run/runs_a_generated_script_test.dart
index ad34c4bc79db8a358018a2bf409d1a428ca193b9..224d2376065c38c8da6f86f25a8e194575aede61 100644
--- a/test/run/runs_a_generated_script_test.dart
+++ b/test/run/runs_a_generated_script_test.dart
@@ -24,25 +24,23 @@ class DartTransformer extends Transformer {
""";
main() {
- withBarbackVersions("any", () {
- integration('runs a script generated from scratch by a transformer', () {
- d.dir(appPath, [
- d.pubspec({
- "name": "myapp",
- "transformers": ["myapp/src/transformer"]
- }),
- d.dir("lib", [d.dir("src", [
- d.file("transformer.dart", TRANSFORMER),
- d.file("primary.in", "")
- ])])
- ]).create();
-
- createLockFile('myapp', pkg: ['barback']);
-
- var pub = pubRun(args: ["bin/script"]);
-
- pub.stdout.expect("generated");
- pub.shouldExit();
- });
+ integration('runs a script generated from scratch by a transformer', () {
+ d.dir(appPath, [
+ d.pubspec({
+ "name": "myapp",
+ "transformers": ["myapp/src/transformer"]
+ }),
+ d.dir("lib", [d.dir("src", [
+ d.file("transformer.dart", TRANSFORMER),
+ d.file("primary.in", "")
+ ])])
+ ]).create();
+
+ createLockFile('myapp', pkg: ['barback']);
+
+ var pub = pubRun(args: ["bin/script"]);
+
+ pub.stdout.expect("generated");
+ pub.shouldExit();
});
}
« no previous file with comments | « test/run/resource_test.dart ('k') | test/run/runs_transformer_in_entrypoint_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698