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

Unified Diff: test/transformer/can_use_consume_primary_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/transformer/can_log_messages_test.dart ('k') | test/transformer/can_use_has_input_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/transformer/can_use_consume_primary_test.dart
diff --git a/test/transformer/can_use_consume_primary_test.dart b/test/transformer/can_use_consume_primary_test.dart
index d08602518f38a1c9df06a98086dbf0a9884ea1ad..a36e5317777ef8fefbe36d15749beeeaa4b3b7f6 100644
--- a/test/transformer/can_use_consume_primary_test.dart
+++ b/test/transformer/can_use_consume_primary_test.dart
@@ -30,27 +30,25 @@ class RewriteTransformer extends Transformer {
""";
main() {
- withBarbackVersions("any", () {
- integration("a transform can use consumePrimary", () {
- d.dir(appPath, [
- d.pubspec({
- "name": "myapp",
- "transformers": ["myapp/src/transformer"]
- }),
- d.dir("lib", [d.dir("src", [
- d.file("transformer.dart", TRANSFORMER)
- ])]),
- d.dir("web", [
- d.file("foo.txt", "foo")
- ])
- ]).create();
-
- createLockFile('myapp', pkg: ['barback']);
-
- pubServe();
- requestShouldSucceed("foo.out", "foo.out");
- requestShould404("foo.txt");
- endPubServe();
- });
+ integration("a transform can use consumePrimary", () {
+ d.dir(appPath, [
+ d.pubspec({
+ "name": "myapp",
+ "transformers": ["myapp/src/transformer"]
+ }),
+ d.dir("lib", [d.dir("src", [
+ d.file("transformer.dart", TRANSFORMER)
+ ])]),
+ d.dir("web", [
+ d.file("foo.txt", "foo")
+ ])
+ ]).create();
+
+ createLockFile('myapp', pkg: ['barback']);
+
+ pubServe();
+ requestShouldSucceed("foo.out", "foo.out");
+ requestShould404("foo.txt");
+ endPubServe();
});
}
« no previous file with comments | « test/transformer/can_log_messages_test.dart ('k') | test/transformer/can_use_has_input_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698