Files
summercms/modules/party/export_docs_test.go

12 lines
268 B
Go

package party
import "testing"
// DocsRegistry swaps the process-wide plugin registry for an empty one for
// the length of the test, for the docs examples in example_test.go that
// register plugins.
func DocsRegistry(t *testing.T) {
t.Helper()
withRegistry(t)
}