(t *testing.T)
| 144 | } |
| 145 | |
| 146 | func TestInvalidName(t *testing.T) { |
| 147 | ctx := context.Background() |
| 148 | s := newTestStore(t) |
| 149 | for _, bad := range []string{"", " ", "a/b", `a\b`} { |
| 150 | if _, err := s.Create(ctx, bad, "", "x"); !isErr(err, ErrInvalidName) { |
| 151 | t.Fatalf("name %q: expected ErrInvalidName, got %v", bad, err) |
| 152 | } |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | func TestDeleteCascadesInstalls(t *testing.T) { |
| 157 | ctx := context.Background() |
nothing calls this directly
no test coverage detected