We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcedd32 commit b906826Copy full SHA for b906826
pkg/cmd/repo/clone/clone_test.go
@@ -221,7 +221,7 @@ func Test_RepoClone_hasParent(t *testing.T) {
221
"login": "hubot"
222
},
223
"defaultBranchRef": {
224
- "name": "master"
+ "name": "trunk"
225
}
226
227
} } }
@@ -233,7 +233,7 @@ func Test_RepoClone_hasParent(t *testing.T) {
233
defer cmdTeardown(t)
234
235
cs.Register(`git clone https://github.com/OWNER/REPO.git`, 0, "")
236
- cs.Register(`git -C REPO remote add -t master -f upstream https://github.com/hubot/ORIG.git`, 0, "")
+ cs.Register(`git -C REPO remote add -t trunk -f upstream https://github.com/hubot/ORIG.git`, 0, "")
237
238
_, err := runCloneCommand(httpClient, "OWNER/REPO")
239
if err != nil {
0 commit comments