Index: tests/language/async_star_pause_test.dart |
diff --git a/tests/language_2/async_star_pause_test.dart b/tests/language/async_star_pause_test.dart |
similarity index 82% |
rename from tests/language_2/async_star_pause_test.dart |
rename to tests/language/async_star_pause_test.dart |
index 8adad621fad82cd1e57ba1f8d231c8bef2ff5e69..d8cabd6a93b1b3fc9d0a834a6db87e9c57bcf485 100644 |
--- a/tests/language_2/async_star_pause_test.dart |
+++ b/tests/language/async_star_pause_test.dart |
@@ -4,13 +4,11 @@ |
library async_star_pause_test; |
-import "package:async_helper/async_helper.dart"; |
-import "package:expect/expect.dart"; |
+import "package:unittest/unittest.dart"; |
import "dart:async"; |
main() { |
- // await for pauses stream during body. |
- asyncTest(() async { |
+ test("await for pauses stream during body", () async { |
// Assumes await-for uses streamIterator. |
var log = []; |
var s = () async* { |
@@ -26,7 +24,7 @@ main() { |
await nextMicrotask(); |
log.add("$i!"); |
} |
- Expect.listEquals(log, [ |
+ expect(log, [ |
"0-", |
"0?", |
"0!", |