test: improve test coverage (#23)
This commit is contained in:
parent
6ea90facd1
commit
226d39cc78
1 changed files with 472 additions and 21 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue