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

Unified Diff: pkg/scheduled_test/lib/descriptor.dart

Issue 164883002: pkg/scheduled_test: formatter (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 6 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
« no previous file with comments | « no previous file | pkg/scheduled_test/lib/src/descriptor/file_descriptor.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/scheduled_test/lib/descriptor.dart
diff --git a/pkg/scheduled_test/lib/descriptor.dart b/pkg/scheduled_test/lib/descriptor.dart
index 0004236695c080ee7b4d6650ff8678168ea3e03c..16f10d50206ec387c3974562cf93dd5733ca4b19 100644
--- a/pkg/scheduled_test/lib/descriptor.dart
+++ b/pkg/scheduled_test/lib/descriptor.dart
@@ -100,7 +100,7 @@ FileDescriptor file(String name, [String contents='']) =>
/// Creates a new binary [FileDescriptor] descriptor with [name] and [contents].
FileDescriptor binaryFile(String name, List<int> contents) =>
- new FileDescriptor.binary(name, contents);
+ new FileDescriptor.binary(name, contents);
/// Creates a new text [FileDescriptor] with [name] that matches its String
/// contents against [matcher]. If the file is created, it's considered to be
@@ -112,16 +112,15 @@ FileDescriptor matcherFile(String name, matcher) =>
/// contents against [matcher]. If the file is created, it's considered to be
/// empty.
FileDescriptor binaryMatcherFile(String name, matcher) =>
- new FileDescriptor.binaryMatcher(name, wrapMatcher(matcher));
+ new FileDescriptor.binaryMatcher(name, wrapMatcher(matcher));
/// Creates a new [DirectoryDescriptor] descriptor with [name] and [contents].
DirectoryDescriptor dir(String name, [Iterable<Descriptor> contents]) =>
- new DirectoryDescriptor(name, contents == null? <Descriptor>[] : contents);
+ new DirectoryDescriptor(name, contents == null ? <Descriptor>[] : contents);
/// Creates a new descriptor wrapping a [Future]. This descriptor forwards all
/// asynchronous operations to the result of [future].
-AsyncDescriptor async(Future<Descriptor> future) =>
- new AsyncDescriptor(future);
+AsyncDescriptor async(Future<Descriptor> future) => new AsyncDescriptor(future);
/// Creates a new [NothingDescriptor] descriptor that asserts that no entry
/// named [name] exists.
@@ -131,7 +130,7 @@ NothingDescriptor nothing(String name) => new NothingDescriptor(name);
/// a name matching [pattern] exists, and matches the [Descriptor] returned
/// by [fn].
PatternDescriptor pattern(Pattern name, EntryCreator fn) =>
- new PatternDescriptor(name, fn);
+ new PatternDescriptor(name, fn);
/// A convenience method for creating a [PatternDescriptor] descriptor that
/// constructs a [FileDescriptor] descriptor.
@@ -141,4 +140,4 @@ PatternDescriptor filePattern(Pattern name, [String contents='']) =>
/// A convenience method for creating a [PatternDescriptor] descriptor that
/// constructs a [DirectoryDescriptor] descriptor.
PatternDescriptor dirPattern(Pattern name, [Iterable<Descriptor> contents]) =>
- pattern(name, (realName) => dir(realName, contents));
+ pattern(name, (realName) => dir(realName, contents));
« no previous file with comments | « no previous file | pkg/scheduled_test/lib/src/descriptor/file_descriptor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698