Index: tests/lib/async/schedule_microtask5_test.dart |
diff --git a/tests/lib/async/schedule_microtask5_test.dart b/tests/lib/async/schedule_microtask5_test.dart |
index 09a093488c3466ef1098d8ee8dd5caf44f0daa1d..8fca72c324d3e747a3021bfdfee5bb7ed7a452e7 100644 |
--- a/tests/lib/async/schedule_microtask5_test.dart |
+++ b/tests/lib/async/schedule_microtask5_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() { |
test("run async timer after async test", () { |
@@ -14,13 +13,13 @@ main() { |
bool timerCallbackExecuted = false; |
scheduleMicrotask(expectAsync(() { |
- Expect.isFalse(timerCallbackExecuted); |
+ expect(timerCallbackExecuted, isFalse); |
})); |
Timer.run(expectAsync(() { timerCallbackExecuted = true; })); |
scheduleMicrotask(expectAsync(() { |
- Expect.isFalse(timerCallbackExecuted); |
+ expect(timerCallbackExecuted, isFalse); |
})); |
scheduleMicrotask(expectAsync(() { |
@@ -32,12 +31,12 @@ main() { |
} |
if (sum == 0) throw "bad"; // Just to use the result. |
scheduleMicrotask(expectAsync(() { |
- Expect.isFalse(timerCallbackExecuted); |
+ expect(timerCallbackExecuted, isFalse); |
})); |
})); |
scheduleMicrotask(expectAsync(() { |
- Expect.isFalse(timerCallbackExecuted); |
+ expect(timerCallbackExecuted, isFalse); |
})); |
}); |
} |