test: fix tests failing in ci

This commit is contained in:
Aleksey Kulikov 2021-10-27 17:35:20 +03:00
parent 7f0cd86e72
commit 0e329bd2b1
22 changed files with 291 additions and 257 deletions

View file

@ -186,10 +186,7 @@ index e69de29..0000000
});
test('throws when trying to text of patch and error occurs', () {
expect(
() => Patch(nullptr, nullptr, nullptr).text,
throwsA(isA<LibGit2Error>()),
);
expect(() => Patch(nullptr).text, throwsA(isA<LibGit2Error>()));
});
test('returns string representation of Patch object', () {