Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
Fix review
Browse files Browse the repository at this point in the history
Signed-off-by: Bruna Tavares <bruna.silva@zup.com.br>
  • Loading branch information
brunasilvazup committed Dec 9, 2020
1 parent 9a9a12f commit 6796718
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cmd/add_repo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ func TestAddRepoCmd(t *testing.T) {
InputURL: returnWithStringErr{"http://localhost/mocked", nil},
InputBool: returnOfInputBool{true, nil},
InputList: []returnOfInputList{{response: "Github", err: nil}},
stdin: "{\"provider\": \"github\", \"name\": \"repo-name\", \"version\": \"0.0.0\", \"url\": \"https://url.com/repo\", \"token,omitempty\": \"\", \"priority\": 5, \"isLocal\": false}\n",
stdin: `{"provider": "github", "name": "repo-name", "version": "0.0.0", "url": "https://url.com/repo", "token,omitempty": "", "priority": 5, "isLocal": false}\n`,
tutorialStatus: "disabled",
},
wantErr: false,
Expand All @@ -295,7 +295,7 @@ func TestAddRepoCmd(t *testing.T) {
InputURL: returnWithStringErr{"http://localhost/mocked", nil},
InputBool: returnOfInputBool{true, nil},
InputList: []returnOfInputList{{response: "Github", err: nil}},
stdin: "{\"provider\": \"github\", \"name\": \"repo-name\", \"version\": \"\", \"url\": \"https://url.com/repo\", \"token,omitempty\": \"\", \"priority\": 5, \"isLocal\": false}\n",
stdin: `{"provider": "github", "name": "repo-name", "version": "", "url": "https://url.com/repo", "token,omitempty": "", "priority": 5, "isLocal": false}\n`,
detailLatestTag: "1.0.0",
tutorialStatus: "disabled",
},
Expand Down

0 comments on commit 6796718

Please sign in to comment.