test: improve test coverage (#23)

This commit is contained in:
Mathias Mogensen 2023-03-24 13:59:03 +01:00 • committed by GitHub
commit 226d39cc78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@ import 'package:appflowy_editor/src/extensions/url_launcher_extension.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('safeLaunchUrl without scheme', () async {
test('safeLaunchUrl without href and scheme', () async {
const href = null;
final result = await safeLaunchUrl(href);
expect(result, false);