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