Migrate to ChannelBuffers.push (#82057)

This commit is contained in:
Ian Hickson
2021-05-13 14:34:04 -07:00
committed by GitHub
parent afb98eaec6
commit b86d5c0094
77 changed files with 1115 additions and 735 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);
});
});
}