github.com/technosophos/deis@v1.7.1-0.20150915173815-f9005256004b/client/pkg/git/git_test.go (about) 1 package git 2 3 import ( 4 "testing" 5 ) 6 7 func TestRemoteURL(t *testing.T) { 8 t.Parallel() 9 10 expected := "ssh://git@example.com:2222/app.git" 11 12 actual := RemoteURL("example.com", "app") 13 14 if actual != expected { 15 t.Errorf("Expected %s, Got %s", expected, actual) 16 } 17 }