mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-21 19:20:39 +00:00
cda14447ad
Co-authored-by: Giulio <giulio.rebuffo@gmail.com>
17 lines
307 B
Go
17 lines
307 B
Go
package spectest
|
|
|
|
import (
|
|
"io/fs"
|
|
"testing"
|
|
)
|
|
|
|
type HandlerFunc func(t *testing.T, root fs.FS, c TestCase) (err error)
|
|
|
|
func (h HandlerFunc) Run(t *testing.T, root fs.FS, c TestCase) (err error) {
|
|
return h(t, root, c)
|
|
}
|
|
|
|
type Handler interface {
|
|
Run(t *testing.T, root fs.FS, c TestCase) (err error)
|
|
}
|