From c61e42e00a8997aa4c3fa18b8ae74bb7af8a3880 Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Sun, 18 Jun 2017 14:26:14 -0700 Subject: [PATCH] add test for bitbucket server --- test/git-open.bats | 8 ++++++++ 1 file changed, 8 insertions(+) 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 ##