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

Unified Diff: sdk/lib/_internal/pub_generated/test/barback/directory_args_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/barback/directory_args_test.dart
diff --git a/sdk/lib/_internal/pub/test/barback/directory_args_test.dart b/sdk/lib/_internal/pub_generated/test/barback/directory_args_test.dart
similarity index 55%
copy from sdk/lib/_internal/pub/test/barback/directory_args_test.dart
copy to sdk/lib/_internal/pub_generated/test/barback/directory_args_test.dart
index 90426902fdb2153a00d961fdc703ac5a5bdd00c8..44ecc9908ed0f9635b3ae3304ea9733f47485cba 100644
--- a/sdk/lib/_internal/pub/test/barback/directory_args_test.dart
+++ b/sdk/lib/_internal/pub_generated/test/barback/directory_args_test.dart
@@ -12,31 +12,31 @@ main() {
initConfig();
setUp(() {
- d.dir(appPath, [
- d.appPubspec(),
- d.dir('bar', [d.file('file.txt', 'bar')]),
- d.dir('foo', [d.file('file.txt', 'foo')]),
- d.dir('test', [d.file('file.txt', 'test')]),
- d.dir('web', [d.file('file.txt', 'web')])
- ]).create();
+ d.dir(
+ appPath,
+ [
+ d.appPubspec(),
+ d.dir('bar', [d.file('file.txt', 'bar')]),
+ d.dir('foo', [d.file('file.txt', 'foo')]),
+ d.dir('test', [d.file('file.txt', 'test')]),
+ d.dir('web', [d.file('file.txt', 'web')])]).create();
});
integration("builds only the given directories", () {
- schedulePub(args: ["build", "foo", "bar"],
+ schedulePub(
+ args: ["build", "foo", "bar"],
output: new RegExp(r'Built 2 files to "build".'));
- d.dir(appPath, [
- d.dir('build', [
- d.dir('bar', [
- d.file('file.txt', 'bar')
- ]),
- d.dir('foo', [
- d.file('file.txt', 'foo')
- ]),
- d.nothing('test'),
- d.nothing('web')
- ])
- ]).validate();
+ d.dir(
+ appPath,
+ [
+ d.dir(
+ 'build',
+ [
+ d.dir('bar', [d.file('file.txt', 'bar')]),
+ d.dir('foo', [d.file('file.txt', 'foo')]),
+ d.nothing('test'),
+ d.nothing('web')])]).validate();
});
integration("serves only the given directories", () {

Powered by Google App Engine
This is Rietveld 408576698