Commit 81b73a2d by Jan-Derk

Added test

parent 3c601d0f
......@@ -61,6 +61,16 @@ void main() {
final isPermanentlyDenied = await Permission.calendar.isPermanentlyDenied;
expect(isPermanentlyDenied, false);
});
test(
// ignore: lines_longer_than_80_chars
'PermissionCheckShortcuts on Permission: request() on a list returns a Map<Permission, PermissionStatus>',
() async {
var permissionList = <Permission>[];
final permissionMap = await permissionList.request();
expect(permissionMap, isA<Map<Permission, PermissionStatus>>());
});
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment