github.com/schwarzm/garden-linux@v0.0.0-20150507151835-33bca2147c47/old/rootfs_provider/rootfs_provider_suite_test.go (about) 1 package rootfs_provider_test 2 3 import ( 4 "net/url" 5 6 . "github.com/onsi/ginkgo" 7 . "github.com/onsi/gomega" 8 9 "testing" 10 ) 11 12 func parseURL(str string) *url.URL { 13 parsedURL, err := url.Parse(str) 14 Expect(err).ToNot(HaveOccurred()) 15 16 return parsedURL 17 } 18 19 func TestRootfsProvider(t *testing.T) { 20 RegisterFailHandler(Fail) 21 RunSpecs(t, "RootfsProvider Suite") 22 }