mirror of
https://github.com/kopia/kopia.git
synced 2026-03-21 07:33:00 -04:00
17 lines
308 B
Go
17 lines
308 B
Go
package logging
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/kopia/kopia/internal/storagetesting"
|
|
)
|
|
|
|
func TestLoggingStorage(t *testing.T) {
|
|
data := map[string][]byte{}
|
|
r := NewWrapper(storagetesting.NewMapStorage(data))
|
|
if r == nil {
|
|
t.Errorf("unexpected result: %v", r)
|
|
}
|
|
storagetesting.VerifyStorage(t, r)
|
|
}
|