add MemBackend and MockBackend

This commit is contained in:
Alexander Neumann 2015-11-22 16:12:00 +01:00
parent da71da23d9
commit 9cb4e14327
3 changed files with 209 additions and 0 deletions

View file

@ -0,0 +1,12 @@
package backend_test
import (
"testing"
"github.com/restic/restic/backend"
)
func TestMemoryBackend(t *testing.T) {
be := backend.NewMemoryBackend()
testBackend(be, t)
}