(namespaces []*namespace.Namespace)
| 138 | } |
| 139 | } |
| 140 | func WithNamespaces(namespaces []*namespace.Namespace) TestRegistryOption { |
| 141 | return func(t testing.TB, r *RegistryDefault) { |
| 142 | require.NoError(t, r.c.Set(config.KeyNamespaces, namespaces)) |
| 143 | } |
| 144 | } |
| 145 | func WithOPL(opl string) TestRegistryOption { |
| 146 | return func(t testing.TB, r *RegistryDefault) { |
| 147 | f := createFile(t, opl) |