| Index: tests/lib/async/stream_min_max_test.dart
|
| diff --git a/tests/lib/async/stream_min_max_test.dart b/tests/lib/async/stream_min_max_test.dart
|
| index e8b123e6a1ef70449b83d9d28ff027e21dc394c0..67c9f015ba9c77ceb00987bb317a5bbd60f8d8d0 100644
|
| --- a/tests/lib/async/stream_min_max_test.dart
|
| +++ b/tests/lib/async/stream_min_max_test.dart
|
| @@ -18,13 +18,13 @@ main() {
|
| testMinMax(name, iterable, min, max, [int compare(a, b)]) {
|
| test("$name-min", () {
|
| StreamController c = new StreamController();
|
| - Future f = c.min(compare);
|
| + Future f = c.stream.min(compare);
|
| f.then(expectAsync1((v) { Expect.equals(min, v);}));
|
| new Events.fromIterable(iterable).replay(c);
|
| });
|
| test("$name-max", () {
|
| StreamController c = new StreamController();
|
| - Future f = c.max(compare);
|
| + Future f = c.stream.max(compare);
|
| f.then(expectAsync1((v) { Expect.equals(max, v);}));
|
| new Events.fromIterable(iterable).replay(c);
|
| });
|
|
|