github.com/greenboxal/deis@v1.12.1/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  }