rename to helpers
This commit is contained in:
parent
893b2a63f6
commit
2a3315097c
2 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ func TestPRList(t *testing.T) {
|
|||
teardown := test.MockGraphQLResponse("pr.json")
|
||||
defer teardown()
|
||||
|
||||
gitRepo := test.SetupTempGitRepo()
|
||||
gitRepo := test.UseTempGitRepo()
|
||||
defer gitRepo.TearDown()
|
||||
|
||||
output, err := test.RunCommand(RootCmd, "pr list")
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ type TempGitRepo struct {
|
|||
TearDown func()
|
||||
}
|
||||
|
||||
func SetupTempGitRepo() *TempGitRepo {
|
||||
func UseTempGitRepo() *TempGitRepo {
|
||||
github.CreateTestConfigs("mario", "i-love-peach")
|
||||
|
||||
pwd, _ := os.Getwd()
|
||||
Loading…
Add table
Add a link
Reference in a new issue