Index: sdk/lib/_internal/pub_generated/test/build/cleans_entire_build_directory_test.dart |
diff --git a/sdk/lib/_internal/pub/test/build/cleans_entire_build_directory_test.dart b/sdk/lib/_internal/pub_generated/test/build/cleans_entire_build_directory_test.dart |
similarity index 54% |
copy from sdk/lib/_internal/pub/test/build/cleans_entire_build_directory_test.dart |
copy to sdk/lib/_internal/pub_generated/test/build/cleans_entire_build_directory_test.dart |
index 16d25c2b287545461bcbb7240ea225184167e0eb..6a2548b70c346ed73f04bad9576d09b111449ea7 100644 |
--- a/sdk/lib/_internal/pub/test/build/cleans_entire_build_directory_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/build/cleans_entire_build_directory_test.dart |
@@ -9,31 +9,30 @@ main() { |
initConfig(); |
integration("cleans entire build directory before a build", () { |
- d.dir(appPath, [ |
- d.appPubspec(), |
- d.dir('example', [ |
- d.file('file.txt', 'example') |
- ]), |
- d.dir('test', [ |
- d.file('file.txt', 'test') |
- ]) |
- ]).create(); |
+ d.dir( |
+ appPath, |
+ [ |
+ d.appPubspec(), |
+ d.dir('example', [d.file('file.txt', 'example')]), |
+ d.dir('test', [d.file('file.txt', 'test')])]).create(); |
// Make a build directory containing "example". |
- schedulePub(args: ["build", "example"], |
+ schedulePub( |
+ args: ["build", "example"], |
output: new RegExp(r'Built 1 file to "build".')); |
// Now build again with just "test". Should wipe out "example". |
- schedulePub(args: ["build", "test"], |
+ schedulePub( |
+ args: ["build", "test"], |
output: new RegExp(r'Built 1 file to "build".')); |
- d.dir(appPath, [ |
- d.dir('build', [ |
- d.nothing('example'), |
- d.dir('test', [ |
- d.file('file.txt', 'test') |
- ]), |
- ]) |
- ]).validate(); |
+ d.dir( |
+ appPath, |
+ [ |
+ d.dir( |
+ 'build', |
+ [ |
+ d.nothing('example'), |
+ d.dir('test', [d.file('file.txt', 'test')]),])]).validate(); |
}); |
} |