Index: sdk/lib/_internal/pub_generated/test/build/defaults_to_release_mode_test.dart |
diff --git a/sdk/lib/_internal/pub/test/build/defaults_to_release_mode_test.dart b/sdk/lib/_internal/pub_generated/test/build/defaults_to_release_mode_test.dart |
similarity index 73% |
copy from sdk/lib/_internal/pub/test/build/defaults_to_release_mode_test.dart |
copy to sdk/lib/_internal/pub_generated/test/build/defaults_to_release_mode_test.dart |
index a507ef78c29e3ab8f6fc1ecdd01f4cfed5197330..86e314633fc0cc71c986dc138eb5d7828e82a1c2 100644 |
--- a/sdk/lib/_internal/pub/test/build/defaults_to_release_mode_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/build/defaults_to_release_mode_test.dart |
@@ -31,30 +31,20 @@ main() { |
initConfig(); |
withBarbackVersions("any", () { |
integration("defaults to release mode", () { |
- d.dir(appPath, [ |
- d.pubspec({ |
+ 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(); |
+ d.dir("lib", [d.dir("src", [d.file("transformer.dart", TRANSFORMER)])]), |
+ d.dir("web", [d.file("foo.txt", "foo")])]).create(); |
createLockFile('myapp', pkg: ['barback']); |
schedulePub(args: ["build"]); |
- d.dir(appPath, [ |
- d.dir('build', [ |
- d.dir('web', [ |
- d.file('foo.out', 'release') |
- ]) |
- ]) |
- ]).validate(); |
+ d.dir( |
+ appPath, |
+ [d.dir('build', [d.dir('web', [d.file('foo.out', 'release')])])]).validate(); |
}); |
}); |
} |