Migrate to ChannelBuffers.push (#81235)

This commit is contained in:
Ian Hickson
2021-05-03 17:14:03 -07:00
committed by GitHub
parent cb0bda39c0
commit 35ad43f20c
77 changed files with 1115 additions and 739 deletions

View File

@@ -71,12 +71,5 @@ void main() {
ServicesBinding.instance!.defaultBinaryMessenger
.setMessageHandler('test_send', null);
});
test('throws when trying to set a mock handler', () {
expect(
() => pluginBinaryMessenger.setMockMessageHandler(
'test', (ByteData? data) async => ByteData(0)),
throwsFlutterError);
});
});
}