chore: upgrade ffigen

This commit is contained in:
Aleksey Kulikov 2021-09-17 21:15:40 +03:00
parent 825f3f9926
commit 2fd43f3efe
6 changed files with 8186 additions and 15490 deletions

View file

@ -94,7 +94,7 @@ void main() {
expect(commit.parents[0].sha, mergeCommit);
commit.free();
}, skip: 'skipped because of flaky segfaults');
});
test('successfully creates commit without parents', () {
final oid = Commit.create(
@ -118,7 +118,7 @@ void main() {
expect(commit.parents.length, 0);
commit.free();
}, skip: 'skipped because of flaky segfaults');
});
test('successfully creates commit with 2 parents', () {
final oid = Commit.create(
@ -144,7 +144,7 @@ void main() {
expect(commit.parents[1].sha, 'fc38877b2552ab554752d9a77e1f48f738cca79b');
commit.free();
}, skip: 'skipped because of flaky segfaults');
});
test('successfully creates commit with short sha of tree', () {
final oid = Commit.create(
@ -169,6 +169,6 @@ void main() {
expect(commit.parents[0].sha, mergeCommit);
commit.free();
}, skip: 'skipped because of flaky segfaults');
});
});
}

View file

@ -315,7 +315,7 @@ index e69de29..c217c63 100644
expect(hunk.oldLines, 0);
expect(hunk.newStart, 1);
expect(hunk.newLines, 1);
expect(hunk.header, '\x00\x00\x00\x00@@ -0,0 +1');
expect(hunk.header, '@@ -0,0 +1 @@\n');
patch.free();
diff.free();