mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
test: fix tests failing in ci
This commit is contained in:
parent
7f0cd86e72
commit
0e329bd2b1
22 changed files with 291 additions and 257 deletions
|
@ -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', () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue