Merge pull request #37 from ravocean/trunk

A small change in code
This commit is contained in:
Husrav Homidov 2021-06-07 22:01:38 -07:00 committed by GitHub
commit 0ebcbdd448
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,6 +114,17 @@ func TestNewCmdBrowse(t *testing.T) {
stderrExpected: "",
urlExpected: "https://github.com/thanh/cli/wiki",
},
{
name: "branch flag",
args: args{
repo: ghrepo.New("ken", "cli"),
cli: "--branch",
},
errorExpected: false,
stdoutExpected: "",
stderrExpected: "Aa",
urlExpected: "",
},
}
for _, tt := range tests {