mirror of
https://github.com/kopia/kopia.git
synced 2026-01-24 22:38:00 -05:00
* storage api put-blob retention options Co-authored-by: Shikhar Mall <shikhar@kasten.io>
20 lines
344 B
Go
20 lines
344 B
Go
package blobtesting
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/kopia/kopia/internal/testlogging"
|
|
"github.com/kopia/kopia/repo/blob"
|
|
)
|
|
|
|
func TestMapStorage(t *testing.T) {
|
|
data := DataMap{}
|
|
|
|
r := NewMapStorage(data, nil, nil)
|
|
if r == nil {
|
|
t.Errorf("unexpected result: %v", r)
|
|
}
|
|
|
|
VerifyStorage(testlogging.Context(t), t, r, blob.PutOptions{})
|
|
}
|