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
|
@ -40,7 +40,6 @@ void main() {
|
|||
group('Remote', () {
|
||||
test('fetch() does not prune branch by default', () {
|
||||
remote.fetch();
|
||||
|
||||
expect(
|
||||
clonedRepo.branches.any((branch) => branch.name == 'origin/feature'),
|
||||
true,
|
||||
|
@ -49,7 +48,6 @@ void main() {
|
|||
|
||||
test('fetch() prunes branch with provided flag', () {
|
||||
remote.fetch(prune: GitFetchPrune.prune);
|
||||
|
||||
expect(
|
||||
clonedRepo.branches.any((branch) => branch.name == 'origin/feature'),
|
||||
false,
|
||||
|
@ -58,7 +56,6 @@ void main() {
|
|||
|
||||
test('fetch() does not prune branch with provided flag', () {
|
||||
remote.fetch(prune: GitFetchPrune.noPrune);
|
||||
|
||||
expect(
|
||||
clonedRepo.branches.any((branch) => branch.name == 'origin/feature'),
|
||||
true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue