| Index: test/transformer/exclusion/includes_before_excludes_test.dart
|
| diff --git a/test/transformer/exclusion/includes_before_excludes_test.dart b/test/transformer/exclusion/includes_before_excludes_test.dart
|
| index 510f59334b35d16fa0d3ec94017f6a39e1f0737a..bdc06a34a4d9d1010695d1d1f699d48f9e8146cc 100644
|
| --- a/test/transformer/exclusion/includes_before_excludes_test.dart
|
| +++ b/test/transformer/exclusion/includes_before_excludes_test.dart
|
| @@ -9,37 +9,35 @@ import '../../test_pub.dart';
|
| import '../../serve/utils.dart';
|
|
|
| main() {
|
| - withBarbackVersions("any", () {
|
| - integration("applies includes before excludes if both are present", () {
|
| - d.dir(appPath, [
|
| - d.pubspec({
|
| - "name": "myapp",
|
| - "transformers": [
|
| - {
|
| - "myapp/src/transformer": {
|
| - "\$include": ["web/a.txt", "web/b.txt"],
|
| - "\$exclude": "web/a.txt"
|
| - }
|
| + integration("applies includes before excludes if both are present", () {
|
| + d.dir(appPath, [
|
| + d.pubspec({
|
| + "name": "myapp",
|
| + "transformers": [
|
| + {
|
| + "myapp/src/transformer": {
|
| + "\$include": ["web/a.txt", "web/b.txt"],
|
| + "\$exclude": "web/a.txt"
|
| }
|
| - ]
|
| - }),
|
| - d.dir("lib", [d.dir("src", [
|
| - d.file("transformer.dart", REWRITE_TRANSFORMER)
|
| - ])]),
|
| - d.dir("web", [
|
| - d.file("a.txt", "a.txt"),
|
| - d.file("b.txt", "b.txt"),
|
| - d.file("c.txt", "c.txt")
|
| - ])
|
| - ]).create();
|
| + }
|
| + ]
|
| + }),
|
| + d.dir("lib", [d.dir("src", [
|
| + d.file("transformer.dart", REWRITE_TRANSFORMER)
|
| + ])]),
|
| + d.dir("web", [
|
| + d.file("a.txt", "a.txt"),
|
| + d.file("b.txt", "b.txt"),
|
| + d.file("c.txt", "c.txt")
|
| + ])
|
| + ]).create();
|
|
|
| - createLockFile('myapp', pkg: ['barback']);
|
| + createLockFile('myapp', pkg: ['barback']);
|
|
|
| - pubServe();
|
| - requestShould404("a.out");
|
| - requestShouldSucceed("b.out", "b.txt.out");
|
| - requestShould404("c.out");
|
| - endPubServe();
|
| - });
|
| + pubServe();
|
| + requestShould404("a.out");
|
| + requestShouldSucceed("b.out", "b.txt.out");
|
| + requestShould404("c.out");
|
| + endPubServe();
|
| });
|
| }
|
|
|