Skip to content

Commit

Permalink
fixed error in test file
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitin-Poojary committed Jul 20, 2023
1 parent ab20178 commit 1fe6fac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/pigeon/test/pigeon_lib_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ class _ValidatorGeneratorAdapter implements GeneratorAdapter {
StringSink sink, PigeonOptions options, Root root, FileType fileType) {}

@override
IOSink? shouldGenerate(PigeonOptions options, FileType _) => sink;
Future<IOSink?> shouldGenerate(PigeonOptions options, FileType _) async =>
sink;

@override
List<Error> validate(PigeonOptions options, Root root) {
Expand Down

0 comments on commit 1fe6fac

Please sign in to comment.