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)); |