mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-25 01:44:43 +01:00
17 lines
326 B
Go
17 lines
326 B
Go
package tests
|
|
|
|
import (
|
|
"reflect"
|
|
"runtime"
|
|
|
|
"github.com/zrepl/zrepl/platformtest"
|
|
)
|
|
|
|
type Case func(*platformtest.Context)
|
|
|
|
func (c Case) String() string {
|
|
return runtime.FuncForPC(reflect.ValueOf(c).Pointer()).Name()
|
|
}
|
|
|
|
//go:generate ../../artifacts/generate-platform-test-list github.com/zrepl/zrepl/platformtest/tests
|