blob: 0bd0006db320ab0ea3b7fce0b6eb6e31cf7d6f4e [file] [log] [blame]
package gophercloud
import (
"testing"
th "github.com/gophercloud/gophercloud/testhelper"
)
func TestServiceURL(t *testing.T) {
c := &ServiceClient{Endpoint: "http://123.45.67.8/"}
expected := "http://123.45.67.8/more/parts/here"
actual := c.ServiceURL("more", "parts", "here")
th.CheckEquals(t, expected, actual)
}