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

@ -171,8 +171,10 @@ void main() {
test('cleans up state', () {
expect(repo.state, GitRepositoryState.none);
final commit = Commit.lookup(repo: repo, oid: repo['5aecfa0']);
Merge.cherryPick(repo: repo, commit: commit);
Merge.cherryPick(
repo: repo,
commit: Commit.lookup(repo: repo, oid: repo['5aecfa0']),
);
expect(repo.state, GitRepositoryState.cherrypick);
repo.stateCleanup();