From 980d699ccbf334e815dd9f7f6ed073bac4afb564 Mon Sep 17 00:00:00 2001 From: Sebastien Le Digabel Date: Fri, 25 Oct 2024 14:58:02 +0100 Subject: [PATCH] refactor(tests): remove commented-out fakeGitHub instances --- cmd/clone/clone_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/clone/clone_test.go b/cmd/clone/clone_test.go index 95810f6..16095ee 100644 --- a/cmd/clone/clone_test.go +++ b/cmd/clone/clone_test.go @@ -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 @@ -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