style: stricter linting

This commit is contained in:
Aleksey Kulikov 2021-10-23 12:31:18 +03:00
parent f3fbc80f8e
commit 4717aab57f
84 changed files with 773 additions and 653 deletions

View file

@ -217,7 +217,7 @@ index e69de29..c217c63 100644
test('throws when trying to diff between null and tree', () {
final tree = repo.lookupTree(repo['b85d53c']);
expect(
() => repo.diff(a: null, b: tree),
() => repo.diff(b: tree),
throwsA(
isA<ArgumentError>().having(
(e) => e.message,