(t *testing.T)
| 58 | } |
| 59 | |
| 60 | func TestUnixBadFormat(t *testing.T) { |
| 61 | endpoint := "unix:/var/run/docker.sock" |
| 62 | _, err := GetEndpoint(endpoint) |
| 63 | if err == nil { |
| 64 | t.Fatal("endpoint should have failed") |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | func TestSplitDockerImageRepository(t *testing.T) { |
| 69 | registry, repository, tag := SplitDockerImage("ubuntu") |
nothing calls this directly
no test coverage detected