feat(treebuilder): add bindings and api

This commit is contained in:
Aleksey Kulikov 2021-09-03 16:30:46 +03:00
parent 0cdaa6f8f4
commit 139c477d4a
6 changed files with 299 additions and 5 deletions

View file

@ -79,7 +79,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(
@ -103,7 +103,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(
@ -129,7 +129,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(
@ -154,6 +154,6 @@ void main() {
expect(commit.parents[0].sha, mergeCommit);
commit.free();
});
}, skip: 'skipped because of flaky segfaults');
});
}