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

Unified Diff: sdk/lib/_internal/pub_generated/test/build/cleans_entire_build_directory_test.dart

Issue 887223007: Revert "Use native async/await support in pub." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 months 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
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();
});
}

Powered by Google App Engine
This is Rietveld 408576698