Index: tests/lib/async/schedule_microtask2_test.dart |
diff --git a/tests/lib/async/schedule_microtask2_test.dart b/tests/lib/async/schedule_microtask2_test.dart |
index 5620333e81480fa0f18b71d5afcea28a43580aab..cb87f355486f6ed97b9c3959b1aad2d167a22411 100644 |
--- a/tests/lib/async/schedule_microtask2_test.dart |
+++ b/tests/lib/async/schedule_microtask2_test.dart |
@@ -4,9 +4,8 @@ |
library run_async_test; |
-import 'package:expect/expect.dart'; |
import 'dart:async'; |
-import 'package:unittest/unittest.dart'; |
+import 'package:test/test.dart'; |
main() { |
// Check that the callbacks are executed in order. |
@@ -14,7 +13,7 @@ main() { |
int lastCallback = -1; |
for (int i = 0; i < 100; i++) { |
scheduleMicrotask(expectAsync(() { |
- Expect.equals(lastCallback, i - 1); |
+ expect(lastCallback, equals(i - 1)); |
lastCallback = i; |
})); |
} |