Skip to content

Commit

Permalink
Improve test names in remote-rename.bats.
Browse files Browse the repository at this point in the history
  • Loading branch information
xwmx committed May 12, 2021
1 parent c558684 commit 8ce0196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/remote-rename.bats
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ load test_helper

# `remote rename` #############################################################

@test "'remote rename <remote-branch> <name>' with non-head <remote-branch> updates remote branch." {
@test "'remote rename <remote-branch> <name>' with orphan <remote-branch> updates remote branch." {
{
mkdir "${_GIT_REMOTE_PATH}"
cd "${_GIT_REMOTE_PATH}"
Expand Down Expand Up @@ -205,7 +205,7 @@ Remote\ set\ to:\ .*${_GIT_REMOTE_URL}.*\ \(.*updated-branch-name.*\) ]]
<(printf "* updated-branch-name\\n remotes/origin/updated-branch-name\\n")
}

@test "'remote rename <name>' with non-HEAD current branch updates local and remote branch." {
@test "'remote rename <name>' with orphan current branch updates local and remote branch." {
{
mkdir "${_GIT_REMOTE_PATH}"
cd "${_GIT_REMOTE_PATH}"
Expand Down

0 comments on commit 8ce0196

Please sign in to comment.