(t *testing.T)
| 19 | ) |
| 20 | |
| 21 | func TestClientSearchNotSupported(t *testing.T) { |
| 22 | t.Parallel() |
| 23 | |
| 24 | _, err := NewClient("").Search(context.Background(), "anything", registry.SearchOpts{}) |
| 25 | if !errors.Is(err, registry.ErrNotSupported) { |
| 26 | t.Fatalf("Search() error = %v, want ErrNotSupported", err) |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | func TestClientCapabilities(t *testing.T) { |
| 31 | t.Parallel() |