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
|
@ -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', () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue