mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
test: remove unnecessary variables declarations
This commit is contained in:
parent
76b8de1f80
commit
28f08e308a
23 changed files with 416 additions and 492 deletions
|
@ -45,10 +45,9 @@ void main() {
|
|||
});
|
||||
|
||||
test('reads object', () {
|
||||
final oid = repo[blobSha];
|
||||
final object = repo.odb.read(oid);
|
||||
final object = repo.odb.read(repo[blobSha]);
|
||||
|
||||
expect(object.oid, oid);
|
||||
expect(object.oid, repo[blobSha]);
|
||||
expect(object.type, GitObject.blob);
|
||||
expect(object.data, blobContent);
|
||||
expect(object.size, 13);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue