[flutter_tools] run web unit tests in sound null safety (#70799)
This commit is contained in:
@@ -57,7 +57,7 @@ void main() {
|
||||
ServicesBinding.instance!.defaultBinaryMessenger
|
||||
.setMessageHandler('test_send', (ByteData? data) {
|
||||
loggedMessages.add(codec.decodeMessage(data) as String);
|
||||
return null;
|
||||
return Future<ByteData?>.value(null);
|
||||
});
|
||||
|
||||
await pluginBinaryMessenger.send(
|
||||
|
||||
Reference in New Issue
Block a user