mirror of
https://github.com/kopia/kopia.git
synced 2026-02-02 18:54:15 -05:00
18 lines
250 B
Go
18 lines
250 B
Go
package blobtesting
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
)
|
|
|
|
func TestMapStorage(t *testing.T) {
|
|
data := DataMap{}
|
|
|
|
r := NewMapStorage(data, nil, nil)
|
|
if r == nil {
|
|
t.Errorf("unexpected result: %v", r)
|
|
}
|
|
|
|
VerifyStorage(context.Background(), t, r)
|
|
}
|