Visitar URL original
[pigeon] migrate to null-safety by Goddchen · Pull Request #300 · flutter/packages · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed incorrect as cast
  • Loading branch information
gaaclarke committed Mar 19, 2021
commit 83427418081e24c64c693103b2fc7f200f7369fc
2 changes: 1 addition & 1 deletion packages/pigeon/mock_handler_tester/test/widget_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void main() {
await const BasicMessageChannel<Object?>(
'dev.flutter.pigeon.Api.search',
StandardMessageCodec(),
).send(null) as Map<Object?, Object?>;
).send(null) as Map<Object?, Object?>?;
expect(true, isFalse); // should not reach here
} catch (error) {
expect(error, isAssertionError);
Expand Down