appflowy-editor/test/extensions/url_launcher_extension_test.dart

10 lines
304 B
Dart
Raw Normal View History

2022-10-04 22:40:15 -05:00
import 'package:appflowy_editor/src/extensions/url_launcher_extension.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
2023-03-24 13:59:03 +01:00
test('safeLaunchUrl without href and scheme', () async {
2022-10-04 22:40:15 -05:00
const href = null;
final result = await safeLaunchUrl(href);
expect(result, false);
});
}