diff --git a/test/git-open.bats b/test/git-open.bats index 7ff40d8..7514496 100755 --- a/test/git-open.bats +++ b/test/git-open.bats @@ -194,6 +194,14 @@ setup() { } +@test "bitbucket: Bitbucket Server" { + # https://github.com/paulirish/git-open/issues/77#issuecomment-309044010 + git remote set-url origin "https://user@mybb.domain.com/git/scm/ppp/rrr.git" + run ../git-open + assert_output "https://mybb.domain.com/git/projects/ppp/repos/rrr" +} + + ## ## GitLab ##