remove unneeded files

This commit is contained in:
Lukas Lihotzki 2021-04-19 20:35:50 +02:00
commit 3616993659
2 changed files with 1 additions and 37 deletions

View file

@ -1,23 +1 @@
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:flutter_openssl_crypto/flutter_openssl_crypto.dart';
void main() {
const MethodChannel channel = MethodChannel('flutter_openssl_crypto');
TestWidgetsFlutterBinding.ensureInitialized();
setUp(() {
channel.setMockMethodCallHandler((MethodCall methodCall) async {
return '42';
});
});
tearDown(() {
channel.setMockMethodCallHandler(null);
});
test('getPlatformVersion', () async {
expect(await FlutterOpensslCrypto.platformVersion, '42');
});
}
void main() {}