(t *testing.T)
| 138 | } |
| 139 | |
| 140 | func TestNew_InvalidCloudID(t *testing.T) { |
| 141 | t.Parallel() |
| 142 | for _, id := range []string{"foo:ZZZ===", "foo:Zm9v", "foo:"} { |
| 143 | _, err := New(WithCloudID(id)) |
| 144 | if err == nil { |
| 145 | t.Errorf("Expected error for CloudID %q", id) |
| 146 | } |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | func TestNew_InvalidURL(t *testing.T) { |
| 151 | t.Parallel() |
nothing calls this directly
no test coverage detected