Add content test suite run to client
Fix bugs in content deletion and upload status Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
@@ -24,12 +24,14 @@ import (
|
||||
)
|
||||
|
||||
func TestContent(t *testing.T) {
|
||||
testsuite.ContentSuite(t, "fs", func(ctx context.Context, root string) (content.Store, func(), error) {
|
||||
testsuite.ContentSuite(t, "fs", func(ctx context.Context, root string) (content.Store, func() error, error) {
|
||||
cs, err := NewStore(root)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
return cs, func() {}, nil
|
||||
return cs, func() error {
|
||||
return nil
|
||||
}, nil
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user