Index: tests/lib/async/schedule_microtask3_test.dart |
diff --git a/tests/lib/async/schedule_microtask3_test.dart b/tests/lib/async/schedule_microtask3_test.dart |
index 3dda5969252386c2eeee81759d11246f8c1fa2f1..f7cb0b83d76dbb872b4eb278022150ee45a8293a 100644 |
--- a/tests/lib/async/schedule_microtask3_test.dart |
+++ b/tests/lib/async/schedule_microtask3_test.dart |
@@ -5,7 +5,8 @@ |
library run_async_test; |
import 'dart:async'; |
-import 'package:test/test.dart'; |
+import 'package:expect/expect.dart'; |
+import 'package:unittest/unittest.dart'; |
main() { |
test("run async timer after async test", () { |
@@ -15,7 +16,7 @@ main() { |
Timer.run(expectAsync(() { timerCallbackExecuted = true; })); |
scheduleMicrotask(expectAsync(() { |
- expect(timerCallbackExecuted, isFalse); |
+ Expect.isFalse(timerCallbackExecuted); |
})); |
scheduleMicrotask(expectAsync(() { |
@@ -27,12 +28,12 @@ main() { |
} |
if (sum == 0) throw "bad"; // Just to use the result. |
scheduleMicrotask(expectAsync(() { |
- expect(timerCallbackExecuted, isFalse); |
+ Expect.isFalse(timerCallbackExecuted); |
})); |
})); |
scheduleMicrotask(expectAsync(() { |
- expect(timerCallbackExecuted, isFalse); |
+ Expect.isFalse(timerCallbackExecuted); |
})); |
}); |
} |