Commit 36777b47 by Jan-Derk

Updated tests

parent 1e17edd9
...@@ -95,7 +95,7 @@ class ImplementsPermissionHandlerPlatform implements PermissionHandlerPlatform { ...@@ -95,7 +95,7 @@ class ImplementsPermissionHandlerPlatform implements PermissionHandlerPlatform {
class ExtendsPermissionHandlerPlatform extends PermissionHandlerPlatform {} class ExtendsPermissionHandlerPlatform extends PermissionHandlerPlatform {}
class MockPermissionHandlerPlatform extends Mock // ignore: prefer_mixin class MockPermissionHandlerPlatform extends Mock
with with
// ignore: prefer_mixin // ignore: prefer_mixin
MockPlatformInterfaceMixin MockPlatformInterfaceMixin
......
...@@ -18,7 +18,6 @@ void main() { ...@@ -18,7 +18,6 @@ void main() {
expect(values[4], PermissionStatus.permanentlyDenied); expect(values[4], PermissionStatus.permanentlyDenied);
}); });
test( test(
// ignore: lines_longer_than_80_chars // ignore: lines_longer_than_80_chars
'statusByValue should return right index int that corresponds with the right PermissionStatus', 'statusByValue should return right index int that corresponds with the right PermissionStatus',
......
...@@ -6,7 +6,7 @@ void main() { ...@@ -6,7 +6,7 @@ void main() {
() { () {
final values = Permission.values; final values = Permission.values;
expect(values.length, 21); expect(values.length, 22);
}); });
test('check if byValue returns corresponding PermissionGroup value', () { test('check if byValue returns corresponding PermissionGroup value', () {
......
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