mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 10:07:02 +00:00
19 lines
405 B
Go
19 lines
405 B
Go
package mem
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/jhillyerd/inbucket/pkg/config"
|
|
"github.com/jhillyerd/inbucket/pkg/storage"
|
|
"github.com/jhillyerd/inbucket/pkg/test"
|
|
)
|
|
|
|
// TestSuite runs storage package test suite on file store.
|
|
func TestSuite(t *testing.T) {
|
|
test.StoreSuite(t, func() (storage.Store, func(), error) {
|
|
s, _ := New(config.Storage{})
|
|
destroy := func() {}
|
|
return s, destroy, nil
|
|
})
|
|
}
|