2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-10 21:02:23 +00:00
restic/internal/test/helper.go
2020-02-26 20:35:13 +01:00

14 lines
260 B
Go

package test
import "testing"
// Helperer marks the current function as a test helper.
type Helperer interface {
Helper()
}
// Helper returns a function that marks the current function as a helper function.
func Helper(t testing.TB) Helperer {
return t
}