Skip to content

Commit

Permalink
refactor(tests): remove commented-out fakeGitHub instances
Browse files Browse the repository at this point in the history
  • Loading branch information
sledigabel committed Oct 25, 2024
1 parent 0e8acaf commit 980d699
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/clone/clone_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ func TestItLogsCloneErrorsButContinuesToTryAll(t *testing.T) {
return nil, errors.New("unexpected call")
})

// fakeGitHub := github.NewAlwaysFailsFakeGitHub()
gh = fakeGitHub
fakeGit := git.NewAlwaysFailsFakeGit()
g = fakeGit
Expand Down Expand Up @@ -173,7 +172,6 @@ func TestItDoesNotPullFromUpstreamWhenCloningWithoutFork(t *testing.T) {
return nil, errors.New("unexpected call")
})

// fakeGitHub := github.NewAlwaysSucceedsFakeGitHub()
gh = fakeGitHub
fakeGit := git.NewAlwaysSucceedsFakeGit()
g = fakeGit
Expand Down

0 comments on commit 980d699

Please sign in to comment.