Index: test/transformer/exclusion/exclude_asset_string_test.dart |
diff --git a/test/transformer/exclusion/exclude_asset_string_test.dart b/test/transformer/exclusion/exclude_asset_string_test.dart |
index f0a8c00c1e094e8f1ace3c6f0c15d038e3472691..42aefdd8e906d10ed665e5dd4307763392a50c6f 100644 |
--- a/test/transformer/exclusion/exclude_asset_string_test.dart |
+++ b/test/transformer/exclusion/exclude_asset_string_test.dart |
@@ -9,38 +9,36 @@ import '../../test_pub.dart'; |
import '../../serve/utils.dart'; |
main() { |
- withBarbackVersions("any", () { |
- integration("allows a single string as the asset to exclude", () { |
- d.dir(appPath, [ |
- d.pubspec({ |
- "name": "myapp", |
- "transformers": [ |
- { |
- "myapp/src/transformer": { |
- "\$exclude": "web/foo.txt" |
- } |
+ integration("allows a single string as the asset to exclude", () { |
+ d.dir(appPath, [ |
+ d.pubspec({ |
+ "name": "myapp", |
+ "transformers": [ |
+ { |
+ "myapp/src/transformer": { |
+ "\$exclude": "web/foo.txt" |
} |
- ] |
- }), |
- d.dir("lib", [d.dir("src", [ |
- d.file("transformer.dart", REWRITE_TRANSFORMER) |
- ])]), |
- d.dir("web", [ |
+ } |
+ ] |
+ }), |
+ d.dir("lib", [d.dir("src", [ |
+ d.file("transformer.dart", REWRITE_TRANSFORMER) |
+ ])]), |
+ d.dir("web", [ |
+ d.file("foo.txt", "foo"), |
+ d.file("bar.txt", "bar"), |
+ d.dir("sub", [ |
d.file("foo.txt", "foo"), |
- d.file("bar.txt", "bar"), |
- d.dir("sub", [ |
- d.file("foo.txt", "foo"), |
- ]) |
]) |
- ]).create(); |
+ ]) |
+ ]).create(); |
- createLockFile('myapp', pkg: ['barback']); |
+ createLockFile('myapp', pkg: ['barback']); |
- pubServe(); |
- requestShould404("foo.out"); |
- requestShouldSucceed("sub/foo.out", "foo.out"); |
- requestShouldSucceed("bar.out", "bar.out"); |
- endPubServe(); |
- }); |
+ pubServe(); |
+ requestShould404("foo.out"); |
+ requestShouldSucceed("sub/foo.out", "foo.out"); |
+ requestShouldSucceed("bar.out", "bar.out"); |
+ endPubServe(); |
}); |
} |