Skip to content

Commit

Permalink
fix analyze
Browse files Browse the repository at this point in the history
  • Loading branch information
a14n committed Aug 6, 2018
1 parent 76052d6 commit 1fa6b50
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/cloud_firestore/test/cloud_firestore_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ void main() {
final int handle = mockHandleId++;
// Wait before sending a message back.
// Otherwise the first request didn't have the time to finish.
Future<void>.delayed(Duration.zero).then<void>((_) {
// TODO(a14n) remove this ignore when https://github.com/dart-lang/sdk/issues/33647 is closed
// ignore: unnecessary_new
new Future<void>.delayed(Duration.zero).then<void>((_) {
BinaryMessages.handlePlatformMessage(
Firestore.channel.name,
Firestore.channel.codec.encodeMethodCall(
Expand All @@ -72,7 +74,9 @@ void main() {
final int handle = mockHandleId++;
// Wait before sending a message back.
// Otherwise the first request didn't have the time to finish.
Future<void>.delayed(Duration.zero).then<void>((_) {
// TODO(a14n) remove this ignore when https://github.com/dart-lang/sdk/issues/33647 is closed
// ignore: unnecessary_new
new Future<void>.delayed(Duration.zero).then<void>((_) {
BinaryMessages.handlePlatformMessage(
Firestore.channel.name,
Firestore.channel.codec.encodeMethodCall(
Expand Down

0 comments on commit 1fa6b50

Please sign in to comment.