diff --git a/packages/cloud_firestore/test/cloud_firestore_test.dart b/packages/cloud_firestore/test/cloud_firestore_test.dart index f13ef3a833e8..9d4db1dcb230 100755 --- a/packages/cloud_firestore/test/cloud_firestore_test.dart +++ b/packages/cloud_firestore/test/cloud_firestore_test.dart @@ -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.delayed(Duration.zero).then((_) { + // TODO(a14n) remove this ignore when https://github.com/dart-lang/sdk/issues/33647 is closed + // ignore: unnecessary_new + new Future.delayed(Duration.zero).then((_) { BinaryMessages.handlePlatformMessage( Firestore.channel.name, Firestore.channel.codec.encodeMethodCall( @@ -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.delayed(Duration.zero).then((_) { + // TODO(a14n) remove this ignore when https://github.com/dart-lang/sdk/issues/33647 is closed + // ignore: unnecessary_new + new Future.delayed(Duration.zero).then((_) { BinaryMessages.handlePlatformMessage( Firestore.channel.name, Firestore.channel.codec.encodeMethodCall(