zrepl/internal/platformtest/tests/tests.go
2024-10-18 19:21:17 +02:00

17 lines
304 B
Go

package tests
import (
"reflect"
"runtime"
"github.com/zrepl/zrepl/internal/platformtest"
)
type Case func(*platformtest.Context)
func (c Case) String() string {
return runtime.FuncForPC(reflect.ValueOf(c).Pointer()).Name()
}
//go:generate go run ./gen github.com/zrepl/zrepl/platformtest/tests