Index: tests/lib/async/stream_transform_test.dart |
diff --git a/tests/lib/async/stream_transform_test.dart b/tests/lib/async/stream_transform_test.dart |
index 8e628a3d64b5757fae40ef2371e2496cd1f6bb79..15e21d1169f24f6e23d71cda96d75eeb02d111b2 100644 |
--- a/tests/lib/async/stream_transform_test.dart |
+++ b/tests/lib/async/stream_transform_test.dart |
@@ -4,8 +4,9 @@ |
library stream_transform_test; |
+import "package:expect/expect.dart"; |
import 'dart:async'; |
-import 'package:test/test.dart'; |
+import 'package:unittest/unittest.dart'; |
import 'event_helper.dart'; |
@@ -27,7 +28,7 @@ main() { |
Events actual = new Events.capture( |
c.stream.map((x) => x * 2).where((x) => x > 5).skip(2).take(2)); |
actual.onDone(expectAsync(() { |
- expect(expected.events, equals(actual.events)); |
+ Expect.listEquals(expected.events, actual.events); |
})); |
input.replay(c); |
}); |
@@ -39,7 +40,7 @@ main() { |
Events actual = new Events.capture( |
c.stream.map((x) => x * 2).where((x) => x > 5).skip(2).take(2)); |
actual.onDone(expectAsync(() { |
- expect(expected.events, equals(actual.events)); |
+ Expect.listEquals(expected.events, actual.events); |
})); |
actual.pause(); |
input.replay(c); |