test: remove unnecessary variables declarations

This commit is contained in:
Aleksey Kulikov 2022-04-21 19:46:19 +03:00
parent 76b8de1f80
commit 28f08e308a
23 changed files with 416 additions and 492 deletions

View file

@ -73,10 +73,12 @@ void main() {
note: 'New note for HEAD',
force: true,
);
final noteBlob = Blob.lookup(repo: repo, oid: noteOid);
expect(noteOid.sha, 'ffd6e2ceaf91c00ea6d29e2e897f906da720529f');
expect(noteBlob.content, 'New note for HEAD');
expect(
Blob.lookup(repo: repo, oid: noteOid).content,
'New note for HEAD',
);
});
test('throws when trying to create note and error occurs', () {