Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
hoc081098 committed Jan 25, 2023
1 parent aee15a8 commit bf63a09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/async/async_queue_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void main() {
);

await pumpEventQueue();
unawaited(queue.dispose());
_unawaited(queue.dispose());

expect(
() => queue.enqueue(() => Future.value(0)),
Expand All @@ -80,7 +80,7 @@ void main() {
await pumpEventQueue();

for (var i = 0; i < 10; i++) {
unawaited(queue.enqueue(() => Future.value()));
_unawaited(queue.enqueue(() => Future.value()));
await delay(halfTimeout);
expect(count, 0);
}
Expand All @@ -91,4 +91,4 @@ void main() {
});
}

void unawaited(Future<void>? future) {}
void _unawaited(Future<void>? future) {}

0 comments on commit bf63a09

Please sign in to comment.