open-vault/physical/inmem_test.go
Sean Chittenden aeea7628d6 Add a *log.Logger argument to physical.Factory
Logging in the backend is a good thing.  This is a noisy interface change but should be a functional noop.
2016-04-25 20:10:32 -07:00

15 lines
214 B
Go

package physical
import (
"log"
"os"
"testing"
)
func TestInmem(t *testing.T) {
logger := log.New(os.Stderr, "", log.LstdFlags)
inm := NewInmem(logger)
testBackend(t, inm)
testBackend_ListPrefix(t, inm)
}