diff --git a/test/git-open.bats b/test/git-open.bats index 55ebee3..82d1089 100644 --- a/test/git-open.bats +++ b/test/git-open.bats @@ -57,6 +57,16 @@ setup() { assert_output "https://github.com/user/repo/" } +@test "gh: git protocol origin" { + # currently fails. derimagia rewrite fixes + skip + + git remote set-url origin "git://github.com/user/repo.git" + git checkout -B "master" + run ../git-open + assert_output "https://github.com/user/repo" +} + @test "gh: git open issue" { # https://github.com/paulirish/git-open/pull/46 git remote set-url origin "github.com:paulirish/git-open.git"