Index: tests/lib/async/stream_first_where_test.dart |
diff --git a/tests/lib/async/stream_first_where_test.dart b/tests/lib/async/stream_first_where_test.dart |
index 6a35d266fce7b0ff8e1540e71fa9596d75d3429e..9e693350c0671cafdb08dbcf044d9fa64ad9e673 100644 |
--- a/tests/lib/async/stream_first_where_test.dart |
+++ b/tests/lib/async/stream_first_where_test.dart |
@@ -4,9 +4,8 @@ |
library stream_controller_async_test; |
-import "package:expect/expect.dart"; |
import 'dart:async'; |
-import 'package:unittest/unittest.dart'; |
+import 'package:test/test.dart'; |
import 'event_helper.dart'; |
import 'stream_state_helper.dart'; |
@@ -21,7 +20,7 @@ main() { |
test("firstWhere with super class", () { |
StreamController c = new StreamController<B>(); |
Future f = c.stream.firstWhere((x) => false, defaultValue: () => const A()); |
- f.then(expectAsync((v) { Expect.equals(const A(), v); })); |
+ f.then(expectAsync((v) { expect(const A(), equals(v)); })); |
sentEvents.replay(c); |
}); |
} |